sw/source/core/layout/objectformattertxtfrm.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 59d96acec8c4d9e472daa3e2c287b3a754e01817
Author:     Michael Stahl <michael.st...@allotropia.de>
AuthorDate: Fri May 7 17:42:51 2021 +0200
Commit:     Michael Stahl <michael.st...@allotropia.de>
CommitDate: Fri May 7 18:37:38 2021 +0200

    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.st...@allotropia.de>
    Tested-by: Jenkins

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());
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to