diff options
Diffstat (limited to 'sw/source/filter/basflt/shellio.cxx')
-rw-r--r-- | sw/source/filter/basflt/shellio.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/basflt/shellio.cxx b/sw/source/filter/basflt/shellio.cxx index 715a183105ae..2870be965950 100644 --- a/sw/source/filter/basflt/shellio.cxx +++ b/sw/source/filter/basflt/shellio.cxx @@ -212,7 +212,7 @@ ErrCodeMsg SwReader::Read( const Reader& rOptions ) --aEndPos; pCNd = aEndPos.GetNode().GetContentNode(); if( !pCNd && nullptr == ( pCNd = SwNodes::GoPrevious( &aEndPos ) )) - pCNd = mxDoc->GetNodes().GoNext( &aEndPos ); + pCNd = SwNodes::GoNext(&aEndPos); const sal_Int32 nLen = pCNd->Len(); if( nLen < nEndContent ) @@ -913,7 +913,7 @@ bool SetHTMLTemplate( SwDoc & rDoc ) SwNodes& rNds = rDoc.GetNodes(); SwNodeIndex aIdx( rNds.GetEndOfExtras(), 1 ); - SwContentNode* pCNd = rNds.GoNext( &aIdx ); + SwContentNode* pCNd = SwNodes::GoNext(&aIdx); if( pCNd ) { pCNd->SetAttr |