sw/source/core/layout/frmtool.cxx | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit a172f854b6e1d61bf0fe0fe4efc3058bb7a760bf Author: Tamás Zolnai <tamas.zol...@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 <c...@libreoffice.org> Reviewed-by: Tamás Zolnai <tamas.zol...@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();
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits