summaryrefslogtreecommitdiff
path: root/sw/source/core/unocore/unoframe.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/unocore/unoframe.cxx')
-rw-r--r--sw/source/core/unocore/unoframe.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx
index e2b8930fa889..8e3132d2e8b8 100644
--- a/sw/source/core/unocore/unoframe.cxx
+++ b/sw/source/core/unocore/unoframe.cxx
@@ -3309,7 +3309,7 @@ rtl::Reference<SwXTextCursor> SwXTextFrame::createXTextCursor()
while( pTableNode )
{
aPam.GetPoint()->Assign( *pTableNode->EndOfSectionNode() );
- SwContentNode* pCont = GetDoc()->GetNodes().GoNext(aPam.GetPoint());
+ SwContentNode* pCont = SwNodes::GoNext(aPam.GetPoint());
pTableNode = pCont->FindTableNode();
}