Kaydet (Commit) a172f854 authored tarafından Tamás Zolnai's avatar Tamás Zolnai

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/45756Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarTamás Zolnai <tamas.zolnai@collabora.com>
üst bf3f6b7c
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment