sw/source/filter/ww8/wrtw8nds.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
New commits: commit d41d2ea9aa55624fab4eba4fa24f125f0d9a25fb Author: Justin Luth <justin_l...@sil.org> AuthorDate: Mon Dec 17 14:19:45 2018 +0300 Commit: Justin Luth <justin_l...@sil.org> CommitDate: Thu Dec 20 02:17:49 2018 +0100 sw filter/ww8 code cleanup: remove duplicate variable Change-Id: I2be36438ca1ab0646aa8f89dfcb317d6a162b072 Reviewed-on: https://gerrit.libreoffice.org/65266 Tested-by: Jenkins Reviewed-by: Justin Luth <justin_l...@sil.org> 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; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits