[Libreoffice-commits] core.git: Branch 'private/swe/libreoffice-5-2+backports' - sw/source
Tamas Bunth
tamas.bunth at collabora.co.uk
Mon Dec 18 15:54:08 UTC 2017
sw/source/filter/ww8/wrtw8nds.cxx | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 615586daaed2c708bf4fe4159d5d850141e2acdf
Author: Tamas Bunth <tamas.bunth at 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 <btomi96 at gmail.com>
Tested-by: Tamás Bunth <btomi96 at gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/46723
Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens at 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 );
More information about the Libreoffice-commits
mailing list