summaryrefslogtreecommitdiff
path: root/sw/source/core/docnode/section.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/docnode/section.cxx')
-rw-r--r--sw/source/core/docnode/section.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/docnode/section.cxx b/sw/source/core/docnode/section.cxx
index d655cf4acc8a..dd3dcdb9e98c 100644
--- a/sw/source/core/docnode/section.cxx
+++ b/sw/source/core/docnode/section.cxx
@@ -676,7 +676,7 @@ void SwSectionFormat::DelFrames()
// Paste of the Frame itself would need to do this. But that leads
// to subsequent errors, which we'd need to solve at run-time.
SwNodeIndex aNextNd( *pIdx );
- SwContentNode* pCNd = GetDoc()->GetNodes().GoNextSection( &aNextNd, true, false );
+ SwContentNode* pCNd = SwNodes::GoNextSection(&aNextNd, true, false);
if( pCNd )
{
const SfxPoolItem& rItem = pCNd->GetSwAttrSet().Get(RES_PAGEDESC);