sw/source/uibase/wrtsh/delete.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 296e2758a2481f34c8263db3a1171e5054526bad
Author: Rosemary Sebastian <rosemary.s...@gmail.com>
Date:   Sat Jul 22 17:28:42 2017 +0530

    tdf#109272: Correct the cursor position for selection delete ...
    
    ... with Backspace, in change-tracking.
    
    Change-Id: I3b7d393fc342c296c5ead8e0463fcc5325cbd606
    Reviewed-on: https://gerrit.libreoffice.org/40670
    Reviewed-by: Rosemary Sebastian <rosemarys...@gmail.com>
    Tested-by: Rosemary Sebastian <rosemarys...@gmail.com>

diff --git a/sw/source/uibase/wrtsh/delete.cxx 
b/sw/source/uibase/wrtsh/delete.cxx
index 8ce3d4222ff2..62d95cb7ef00 100644
--- a/sw/source/uibase/wrtsh/delete.cxx
+++ b/sw/source/uibase/wrtsh/delete.cxx
@@ -153,6 +153,7 @@ long SwWrtShell::DelLeft()
             {
                 SwActContext aActContext(this);
                 ResetCursorStack();
+                SwapPam();   // SwapPam() is required for change-tracking
                 Delete();
                 UpdateAttr();
             }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to