diff options
Diffstat (limited to 'sw/source/core/undo/unsect.cxx')
-rw-r--r-- | sw/source/core/undo/unsect.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/undo/unsect.cxx b/sw/source/core/undo/unsect.cxx index 6a57f17fd79c..b7cb3d835933 100644 --- a/sw/source/core/undo/unsect.cxx +++ b/sw/source/core/undo/unsect.cxx @@ -108,8 +108,8 @@ SwUndoInsSection::SwUndoInsSection( const SwContentNode* pCNd = rPam.GetPoint()->GetNode().GetContentNode(); if( pCNd && pCNd->HasSwAttrSet() && ( - !rPam.GetPoint()->nContent.GetIndex() || - rPam.GetPoint()->nContent.GetIndex() == pCNd->Len() )) + !rPam.GetPoint()->GetContentIndex() || + rPam.GetPoint()->GetContentIndex() == pCNd->Len() )) { SfxItemSet aBrkSet( rDoc.GetAttrPool(), aBreakSetRange ); aBrkSet.Put( *pCNd->GetpSwAttrSet() ); |