[Libreoffice-commits] core.git: sw/source

Tamas Bunth tamas.bunth at collabora.co.uk
Fri Dec 15 00:04:27 UTC 2017


 sw/source/filter/ww8/wrtw8nds.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit aac4e447c3fb276a85c475f86d3469b8e34eeb5a
Author: Tamas Bunth <tamas.bunth at collabora.co.uk>
Date:   Fri Dec 15 01:00:00 2017 +0100

    no section break after split paragraph
    
    Change-Id: I08aa10527d6e5d8950a592334d01186cbd8cd355
    Reviewed-on: https://gerrit.libreoffice.org/46495
    Reviewed-by: Tamás Bunth <btomi96 at gmail.com>
    Tested-by: Tamás Bunth <btomi96 at gmail.com>

diff --git a/sw/source/filter/ww8/wrtw8nds.cxx b/sw/source/filter/ww8/wrtw8nds.cxx
index 5f1efbc0d59b..8ca637f005cf 100644
--- a/sw/source/filter/ww8/wrtw8nds.cxx
+++ b/sw/source/filter/ww8/wrtw8nds.cxx
@@ -2686,7 +2686,7 @@ void MSWordExportBase::OutputTextNode( SwTextNode& rNode )
                 PrepareNewPageDesc( rNode.GetpSwAttrSet(), rNode, nullptr , pNextPageDesc);
             }
         }
-        else
+        else if (!bNeedParaSplit)
         {
             // else check if section break needed after the paragraph
             AttrOutput().SectionBreaks(rNode);


More information about the Libreoffice-commits mailing list