diff options
author | Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> | 2017-09-19 00:38:54 +0200 |
---|---|---|
committer | Björn Michaelsen <bjoern.michaelsen@libreoffice.org> | 2017-09-20 01:04:11 +0200 |
commit | ce2fce9a41729774689080c8b5552b60c2e6ee2d (patch) | |
tree | bde9fd82339bdf3d03d954fcd782b7405a5f154d | |
parent | 018f875cb03aadd6fbb56cad463fef3ab932e274 (diff) |
tdf#112447: connect all objects
- fixes regression from 575e222a1742918be052f2b716ddf57ce0008404
Change-Id: I686ce41c87e5b421e0382658404cf7bb153a4812
Reviewed-on: https://gerrit.libreoffice.org/42439
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@libreoffice.org>
-rw-r--r-- | sw/source/core/layout/frmtool.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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) |