summaryrefslogtreecommitdiff
path: root/sw/source/filter/writer/writer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/writer/writer.cxx')
-rw-r--r--sw/source/filter/writer/writer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/writer/writer.cxx b/sw/source/filter/writer/writer.cxx
index e21e81e5239c..ded3ea80d9d2 100644
--- a/sw/source/filter/writer/writer.cxx
+++ b/sw/source/filter/writer/writer.cxx
@@ -170,7 +170,7 @@ Writer::NewUnoCursor(SwDoc & rDoc, SwNodeOffset const nStartIdx, SwNodeOffset co
SwNodeIndex aStt( *pNds, nStartIdx );
SwContentNode* pCNode = aStt.GetNode().GetContentNode();
- if( !pCNode && nullptr == pNds->GoNext( &aStt ) )
+ if (!pCNode && nullptr == SwNodes::GoNext(&aStt))
{
OSL_FAIL( "No more ContentNode at StartPos" );
}