sw/source/filter/ww8/wrtww8.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 8e974d24f3bbc59c66476db1a56e6a2013a528e0 Author: Justin Luth <justin_l...@sil.org> Date: Tue Jun 13 13:48:44 2017 +0300 tdf#108448 ww8export: skip sectionbreak for endnotes MSWord ignores page-breaks in endnotes, and just adds endnotes at the end of the last page. LO automatically page-breaks with pageStyle Endnotes. It must be built into the code that handles endnotes. Don't try to export that page-break - it doesn't work anyway. Change-Id: I2f266b20a6fa97d0522878f71fe0a6822833d89c Reviewed-on: https://gerrit.libreoffice.org/38727 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Justin Luth <justin_l...@sil.org> diff --git a/sw/source/filter/ww8/wrtww8.cxx b/sw/source/filter/ww8/wrtww8.cxx index b1a49391b848..987a060820cc 100644 --- a/sw/source/filter/ww8/wrtww8.cxx +++ b/sw/source/filter/ww8/wrtww8.cxx @@ -2649,7 +2649,8 @@ void MSWordExportBase::WriteText() { SwNode& rNd = m_pCurPam->GetNode(); - if ( rNd.IsTextNode() ) + // no section breaks exported for Endnotes + if ( rNd.IsTextNode() && m_nTextTyp != TXT_EDN ) SectionBreaksAndFrames( *rNd.GetTextNode() ); // output the various types of nodes _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits