summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/docfmt.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2012-10-15 23:31:02 +0200
committerLuboš Luňák <l.lunak@suse.cz>2012-10-15 23:33:09 +0200
commitf2655f92c193ce37aa76f2dd285d260d214f7d8c (patch)
treeb0b4bc3211f73e0aa1b451318385f67d979dbf0c /sw/source/core/doc/docfmt.cxx
parentdc3aa430f911b9c2131034c0f517c297820e565d (diff)
postfix operator++ -> prefix operator++
Change-Id: I51506a83009db838d8e12d5559c46b404e59f9b5
Diffstat (limited to 'sw/source/core/doc/docfmt.cxx')
-rw-r--r--sw/source/core/doc/docfmt.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx
index 833ece4c1fe1..1ace41932064 100644
--- a/sw/source/core/doc/docfmt.cxx
+++ b/sw/source/core/doc/docfmt.cxx
@@ -453,7 +453,7 @@ void SwDoc::ResetAttrs( const SwPaM &rRg,
}
}
- aTmpStt++;
+ ++aTmpStt;
}
if( pEnd->nContent.GetIndex() == pEnd->nNode.GetNode().GetCntntNode()->Len() )
// set up a later, and all CharFmtAttr -> TxtFmtAttr
@@ -487,7 +487,7 @@ void SwDoc::ResetAttrs( const SwPaM &rRg,
if( bTxtAttr )
{
if( bAdd )
- aTmpEnd++;
+ ++aTmpEnd;
GetNodes().ForEach( pStt->nNode, aTmpEnd, lcl_RstTxtAttr, &aPara );
}
@@ -975,7 +975,7 @@ lcl_InsAttr(SwDoc *const pDoc, const SwPaM &rRg, const SfxItemSet& rChgSet,
SFX_ITEM_SET == pCharSet->GetItemState( RES_TXTATR_CHARFMT, sal_False ) ||
SFX_ITEM_SET == pCharSet->GetItemState( RES_TXTATR_INETFMT, sal_False ) );
- for(; aSt < aEnd; aSt++ )
+ for(; aSt < aEnd; ++aSt )
{
pNode = aSt.GetNode().GetCntntNode();
if( !pNode )
@@ -2275,7 +2275,7 @@ void SwDoc::MoveLeftMargin( const SwPaM& rPam, sal_Bool bRight, sal_Bool bModulu
SwRegHistory aRegH( pTNd, *pTNd, pHistory );
pTNd->SetAttr( aLS );
}
- aIdx++;
+ ++aIdx;
}
SetModified();
}