summaryrefslogtreecommitdiff
path: root/sw/source/core/undo/unmove.cxx
diff options
context:
space:
mode:
authorGulsah Kose <gulsah.1004@gmail.com>2015-03-19 13:13:02 +0200
committerCaolán McNamara <caolanm@redhat.com>2015-03-20 09:50:33 +0000
commit2db08b9ed6427bfa2c7d611b1a7294cb77c6e9b9 (patch)
tree8a51f57d22a9860ffeb7fc3e91a5be6bfea8d796 /sw/source/core/undo/unmove.cxx
parenta7b611e8fb62d6e93844e5e7b9f1f00adb4afeea (diff)
tdf#89756 Switched postfix to prefix operator++/--
Replaced postfix to prefix operator++/-- to improving performance Change-Id: Iaee7b22dbe21441b82612ae3a3e336cf56eb280f Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/14903 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/core/undo/unmove.cxx')
-rw-r--r--sw/source/core/undo/unmove.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/undo/unmove.cxx b/sw/source/core/undo/unmove.cxx
index 9ab2aaa6dd7b..b6b09af1d0b7 100644
--- a/sw/source/core/undo/unmove.cxx
+++ b/sw/source/core/undo/unmove.cxx
@@ -305,7 +305,7 @@ void SwUndoMove::RedoImpl(::sw::UndoRedoContext & rContext)
aIdx = aPam.Start()->nNode;
bool bJoinTxt = aIdx.GetNode().IsTxtNode();
- aIdx--;
+ --aIdx;
rDoc.getIDocumentContentOperations().MoveRange( aPam, aMvPos,
SwMoveFlags::DEFAULT );