summaryrefslogtreecommitdiff
path: root/sw/source/core/edit/edsect.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/edit/edsect.cxx')
-rw-r--r--sw/source/core/edit/edsect.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/edit/edsect.cxx b/sw/source/core/edit/edsect.cxx
index cc6900500a03..07f11b4eb755 100644
--- a/sw/source/core/edit/edsect.cxx
+++ b/sw/source/core/edit/edsect.cxx
@@ -236,7 +236,7 @@ void SwEditShell::SetSectionAttr( const SfxItemSet& rSet,
StartOfSectionNode()->GetSectionNode())) )
_SetSectionAttr( *pSttSectNd->GetSection().GetFmt(),
rSet );
- aSIdx++;
+ ++aSIdx;
}
}
}
@@ -387,10 +387,10 @@ static const SwNode* lcl_SpecialInsertNode(const SwPosition* pCurrentPos)
if( rCurrentNode.IsCntntNode() &&
( pCurrentPos->nContent.GetIndex() ==
rCurrentNode.GetCntntNode()->Len() ) )
- aEnd++;
+ ++aEnd;
while( (aEnd != pInnermostNode->EndOfSectionNode()->GetIndex()) &&
aEnd.GetNode().IsEndNode() )
- aEnd++;
+ ++aEnd;
bool bEnd = ( aEnd == pInnermostNode->EndOfSectionNode()->GetIndex() );
// evalutate result: if both start + end, end is preferred