diff options
Diffstat (limited to 'sw/source/core/edit/edsect.cxx')
-rw-r--r-- | sw/source/core/edit/edsect.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/edit/edsect.cxx b/sw/source/core/edit/edsect.cxx index 33ed0de23735..cf60418bb1be 100644 --- a/sw/source/core/edit/edsect.cxx +++ b/sw/source/core/edit/edsect.cxx @@ -356,10 +356,10 @@ static const SwNode* lcl_SpecialInsertNode(const SwPosition* pCurrentPos) SwNodeIndex aBegin( pCurrentPos->nNode ); if( rCurrentNode.IsCntntNode() && (pCurrentPos->nContent.GetIndex() == 0)) - aBegin--; + --aBegin; while( (aBegin != pInnermostNode->GetIndex()) && aBegin.GetNode().IsStartNode() ) - aBegin--; + --aBegin; bool bStart = ( aBegin == pInnermostNode->GetIndex() ); // we found an end if |