summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2021-05-07 17:42:51 +0200
committerAndras Timar <andras.timar@collabora.com>2021-05-16 23:47:22 +0200
commit54e11367937526e9804ce3b09e046c956f0d6c1a (patch)
tree8b4cccbecdefc95cb2743f3ddb25b2773a5ec6fb /sw
parent03556252f8fd2f8112f010443c315747c6e32804 (diff)
tdf#138518 sw: layout: unbreak fdo80206-1.doc
The 7 flys on the para on page 3 create ~15 extra pages with one paragraph each. Argh! One of the bPageHasFlysAnchoredBelowThis checks was inverted. How dumb of me. (regression from c799de145f7e289f31e3669646e5bd12814e6c5e) Still doesn't look good but now it looks same as in 7.0. Change-Id: Ib10c46f48746362d8d679c147ddc8b85157be508 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115242 Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> Tested-by: Jenkins (cherry picked from commit 59d96acec8c4d9e472daa3e2c287b3a754e01817) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115206 Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/layout/objectformattertxtfrm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/objectformattertxtfrm.cxx b/sw/source/core/layout/objectformattertxtfrm.cxx
index 153a90799d50..14cf0e9c66b5 100644
--- a/sw/source/core/layout/objectformattertxtfrm.cxx
+++ b/sw/source/core/layout/objectformattertxtfrm.cxx
@@ -412,7 +412,7 @@ bool SwObjectFormatterTextFrame::DoFormatObjs()
}
if ( bInsert )
{
- if (bPageHasFlysAnchoredBelowThis)
+ if (!bPageHasFlysAnchoredBelowThis)
{
SwLayouter::InsertMovedFwdFrame(rDoc, mrAnchorTextFrame,
pAnchorPageFrame->GetPhyPageNum());