diff options
Diffstat (limited to 'sw/source/uibase/app/docsh.cxx')
-rw-r--r-- | sw/source/uibase/app/docsh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/app/docsh.cxx b/sw/source/uibase/app/docsh.cxx index 45047e701d56..7f69029bebb4 100644 --- a/sw/source/uibase/app/docsh.cxx +++ b/sw/source/uibase/app/docsh.cxx @@ -919,7 +919,7 @@ tools::Rectangle SwDocShell::GetVisArea( sal_uInt16 nAspect ) const { // Preview: set VisArea to the first page. SwNodeIndex aIdx( m_xDoc->GetNodes().GetEndOfExtras(), 1 ); - SwContentNode* pNd = m_xDoc->GetNodes().GoNext( &aIdx ); + SwContentNode* pNd = SwNodes::GoNext(&aIdx); const SwRect aPageRect = pNd->FindPageFrameRect(); if (aPageRect.IsEmpty()) |