sw/source/filter/ww8/wrtw8nds.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
New commits: commit 615586daaed2c708bf4fe4159d5d850141e2acdf Author: Tamas Bunth <tamas.bu...@collabora.co.uk> Date: Fri Dec 8 17:51:54 2017 +0100 fix for empty paragraphs Change-Id: I0a7432059d5e6f680d4fe2e3cac0f12062533511 Reviewed-on: https://gerrit.libreoffice.org/46100 Reviewed-by: Tamás Bunth <btom...@gmail.com> Tested-by: Tamás Bunth <btom...@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/46723 Reviewed-by: Thorsten Behrens <thorsten.behr...@cib.de> Tested-by: Thorsten Behrens <thorsten.behr...@cib.de> diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx index c727ca145e18..97ffba47dbd4 100644 --- a/sw/source/filter/ww8/wrtw8nds.cxx +++ b/sw/source/filter/ww8/wrtw8nds.cxx @@ -2248,7 +2248,9 @@ void MSWordExportBase::OutputTextNode( const SwTextNode& rNode ) do { sal_Int32 nAktPos = *aBreakIt; - ++aBreakIt; + + if( softBreakList.size() > 1 ) // not for empty paragpraph + ++aBreakIt; AttrOutput().StartParagraph( pTextNodeInfo );
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits