diff options
author | Michael Stahl <michael.stahl@allotropia.de> | 2021-05-07 17:42:51 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2021-05-07 18:37:38 +0200 |
commit | 59d96acec8c4d9e472daa3e2c287b3a754e01817 (patch) | |
tree | b8e407b7b0dda11f475d518f7108846aac536963 /sw | |
parent | bcd7a7244208a15e36a724270c72b496e77f84bf (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
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/layout/objectformattertxtfrm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/layout/objectformattertxtfrm.cxx b/sw/source/core/layout/objectformattertxtfrm.cxx index 4f91ee46226e..630ce1883bed 100644 --- a/sw/source/core/layout/objectformattertxtfrm.cxx +++ b/sw/source/core/layout/objectformattertxtfrm.cxx @@ -411,7 +411,7 @@ bool SwObjectFormatterTextFrame::DoFormatObjs() } if ( bInsert ) { - if (bPageHasFlysAnchoredBelowThis) + if (!bPageHasFlysAnchoredBelowThis) { SwLayouter::InsertMovedFwdFrame(rDoc, mrAnchorTextFrame, pAnchorPageFrame->GetPhyPageNum()); |