diff options
-rw-r--r-- | sw/source/filter/ww8/wrtw8nds.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx index 02e946af9a9d..393c1d2e8afb 100644 --- a/sw/source/filter/ww8/wrtw8nds.cxx +++ b/sw/source/filter/ww8/wrtw8nds.cxx @@ -3046,9 +3046,7 @@ void MSWordExportBase::OutputSectionNode( const SwSectionNode& rSectionNode ) ReplaceCr( msword::PageBreak ); // Indicator for Page/Section-Break // Get the page in use at the top of this section - SwNodeIndex aIdxTmp(rSectionNode, 1); - const SwPageDesc *pCurrent = - SwPageDesc::GetPageDescOfNode(aIdxTmp.GetNode()); + const SwPageDesc *pCurrent = SwPageDesc::GetPageDescOfNode(rNd); if (!pCurrent) pCurrent = m_pCurrentPageDesc; |