summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unoredline.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/unocore/unoredline.cxx')
-rw-r--r--sw/source/core/unocore/unoredline.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unoredline.cxx b/sw/source/core/unocore/unoredline.cxx
index 2ac7eebf5695..86c7d3da1154 100644
--- a/sw/source/core/unocore/unoredline.cxx
+++ b/sw/source/core/unocore/unoredline.cxx
@@ -111,7 +111,7 @@ rtl::Reference< SwXTextCursor > SwXRedlineText::createXTextCursor()
while( pTableNode != nullptr )
{
rUnoCursor.GetPoint()->Assign( *pTableNode->EndOfSectionNode() );
- SwContentNode* pContentNode = GetDoc()->GetNodes().GoNext(rUnoCursor.GetPoint());
+ SwContentNode* pContentNode = SwNodes::GoNext(rUnoCursor.GetPoint());
pTableNode = pContentNode->FindTableNode();
}
if( bTable && rUnoCursor.GetPointNode().FindSttNodeByType( SwNormalStartNode )
@@ -544,7 +544,7 @@ rtl::Reference< SwXTextCursor > SwXRedline::createXTextCursor()
while( pTableNode )
{
rUnoCursor.GetPoint()->Assign( *pTableNode->EndOfSectionNode() );
- SwContentNode* pCont = GetDoc()->GetNodes().GoNext(rUnoCursor.GetPoint());
+ SwContentNode* pCont = SwNodes::GoNext(rUnoCursor.GetPoint());
pTableNode = pCont->FindTableNode();
}