[Libreoffice-commits] core.git: Branch 'feature/change-tracking' - sw/source
Rosemary Sebastian
rosemary.seb8 at gmail.com
Wed Aug 2 09:44:59 UTC 2017
sw/source/uibase/wrtsh/delete.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 296e2758a2481f34c8263db3a1171e5054526bad
Author: Rosemary Sebastian <rosemary.seb8 at 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 <rosemaryseb8 at gmail.com>
Tested-by: Rosemary Sebastian <rosemaryseb8 at 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();
}
More information about the Libreoffice-commits
mailing list