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

Bjoern Michaelsen bjoern.michaelsen at libreoffice.org
Tue Sep 19 23:04:41 UTC 2017


 sw/source/core/layout/frmtool.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit ce2fce9a41729774689080c8b5552b60c2e6ee2d
Author: Bjoern Michaelsen <bjoern.michaelsen at libreoffice.org>
Date:   Tue Sep 19 00:38:54 2017 +0200

    tdf#112447: connect all objects
    
    - fixes regression from 575e222a1742918be052f2b716ddf57ce0008404
    
    Change-Id: I686ce41c87e5b421e0382658404cf7bb153a4812
    Reviewed-on: https://gerrit.libreoffice.org/42439
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Björn Michaelsen <bjoern.michaelsen at libreoffice.org>

diff --git a/sw/source/core/layout/frmtool.cxx b/sw/source/core/layout/frmtool.cxx
index c7589de9426f..5a238580ac42 100644
--- a/sw/source/core/layout/frmtool.cxx
+++ b/sw/source/core/layout/frmtool.cxx
@@ -1108,9 +1108,10 @@ void AppendAllObjs(const SwFrameFormats* pTable, const SwFrame* pSib)
         auto& pFormat = vFormatsToConnect.front();
         const bool bAlreadyConnected(lcl_ObjConnected(pFormat, pSib));
         if(!bAlreadyConnected || lcl_InHeaderOrFooter(*pFormat))
+        {
             pFormat->MakeFrames();
-        if(bAlreadyConnected || lcl_ObjConnected(pFormat, pSib))
             pFirstRequeued = nullptr;
+        }
         else
         {
             if(pFirstRequeued == pFormat)


More information about the Libreoffice-commits mailing list