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

Tamás Zolnai tamas.zolnai at collabora.com
Sun Dec 3 23:42:23 UTC 2017


 sw/source/core/layout/frmtool.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit a172f854b6e1d61bf0fe0fe4efc3058bb7a760bf
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
Date:   Sun Dec 3 21:00:37 2017 +0100

    tdf#74693: Footnotes text appearing above footnote separator line
    
    When invalidate a footnoteframe, invalidate also the lower textframe,
    so it will be recalculated before text rendering.
    
    Change-Id: I5fd29bdad4afae4947e0701e5727482958453d03
    Reviewed-on: https://gerrit.libreoffice.org/45756
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>

diff --git a/sw/source/core/layout/frmtool.cxx b/sw/source/core/layout/frmtool.cxx
index 2276f7fa2b99..a9ac9b7c6ea5 100644
--- a/sw/source/core/layout/frmtool.cxx
+++ b/sw/source/core/layout/frmtool.cxx
@@ -545,7 +545,11 @@ SwLayNotify::~SwLayNotify()
     const bool bSize = pLay->getFrameArea().SSize() != maFrame.SSize();
 
     if ( bPos && pLay->Lower() && !IsLowersComplete() )
+    {
         pLay->Lower()->InvalidatePos();
+        if(pLay->Lower()->IsFootnoteFrame())
+            static_cast<SwFootnoteFrame*>(pLay->Lower())->Lower()->InvalidatePos();
+    }
 
     if ( bPrtPos )
         pLay->SetCompletePaint();


More information about the Libreoffice-commits mailing list