diff options
Diffstat (limited to 'sw/source/core/unocore/unoobj.cxx')
-rw-r--r-- | sw/source/core/unocore/unoobj.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/unocore/unoobj.cxx b/sw/source/core/unocore/unoobj.cxx index 878f4765dd70..3c5f34f1940a 100644 --- a/sw/source/core/unocore/unoobj.cxx +++ b/sw/source/core/unocore/unoobj.cxx @@ -1075,7 +1075,7 @@ SwXTextCursor::gotoStart(sal_Bool Expand) while (pTableNode) { rUnoCursor.GetPoint()->Assign( *pTableNode->EndOfSectionNode() ); - SwContentNode* pCNode = GetDoc()->GetNodes().GoNext(rUnoCursor.GetPoint()); + SwContentNode* pCNode = SwNodes::GoNext(rUnoCursor.GetPoint()); pTableNode = pCNode ? pCNode->FindTableNode() : nullptr; } SwStartNode const*const pTmp = @@ -1086,7 +1086,7 @@ SwXTextCursor::gotoStart(sal_Bool Expand) static_cast<SwSectionNode const*>(pTmp); if (pSectionStartNode->GetSection().IsHiddenFlag()) { - GetDoc()->GetNodes().GoNextSection( + SwNodes::GoNextSection( rUnoCursor.GetPoint(), true, false); } } |