diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-10-15 23:31:02 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-10-15 23:33:09 +0200 |
commit | f2655f92c193ce37aa76f2dd285d260d214f7d8c (patch) | |
tree | b0b4bc3211f73e0aa1b451318385f67d979dbf0c /sw/source/core/frmedt | |
parent | dc3aa430f911b9c2131034c0f517c297820e565d (diff) |
postfix operator++ -> prefix operator++
Change-Id: I51506a83009db838d8e12d5559c46b404e59f9b5
Diffstat (limited to 'sw/source/core/frmedt')
-rw-r--r-- | sw/source/core/frmedt/fecopy.cxx | 4 | ||||
-rw-r--r-- | sw/source/core/frmedt/tblsel.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/frmedt/fecopy.cxx b/sw/source/core/frmedt/fecopy.cxx index d3326a987d23..b31f8e6040bf 100644 --- a/sw/source/core/frmedt/fecopy.cxx +++ b/sw/source/core/frmedt/fecopy.cxx @@ -818,7 +818,7 @@ sal_Bool SwFEShell::Paste( SwDoc* pClpDoc, sal_Bool bIncludingPageFrames ) aIndexBefore--; pClpDoc->CopyRange( rCopy, rInsPos, false ); { - aIndexBefore++; + ++aIndexBefore; SwPaM aPaM(SwPosition(aIndexBefore), SwPosition(rInsPos.nNode)); aPaM.GetDoc()->MakeUniqueNumRules(aPaM); @@ -1050,7 +1050,7 @@ sal_Bool SwFEShell::Paste( SwDoc* pClpDoc, sal_Bool bIncludingPageFrames ) pClpDoc->CopyRange( aCpyPam, rInsPos, false ); { - aIndexBefore++; + ++aIndexBefore; SwPaM aPaM(SwPosition(aIndexBefore), SwPosition(rInsPos.nNode)); diff --git a/sw/source/core/frmedt/tblsel.cxx b/sw/source/core/frmedt/tblsel.cxx index abc8aad73147..43e38e02a15e 100644 --- a/sw/source/core/frmedt/tblsel.cxx +++ b/sw/source/core/frmedt/tblsel.cxx @@ -1380,7 +1380,7 @@ void GetMergeSel( const SwPaM& rPam, SwSelBoxes& rBoxes, pDoc->GetIDocumentUndoRedo().DoUndo(bUndo); } SwNodeRange aRg( aSttNdIdx, aPam.GetPoint()->nNode ); - rInsPosNd++; + ++rInsPosNd; if( pUndo ) pUndo->MoveBoxCntnt( pDoc, aRg, rInsPosNd ); else |