fdo#43705: fix incomplete updating of the page preview pane in Draw
This regression was introduced in f215333002
.
As stated in PageObjectPainter::PaintPageObject:
"The page object layouter is quite volatile."
The rest of usages of mpPageObjectLayouter looks sane, but who knows...
This commit is contained in:
parent
a865eee6e7
commit
799f2de5d1
1 changed files with 1 additions and 0 deletions
|
@ -167,6 +167,7 @@ void PageObjectPainter::PaintPageObject (
|
|||
|
||||
void PageObjectPainter::NotifyResize (const bool bForce)
|
||||
{
|
||||
mpPageObjectLayouter = mrLayouter.GetPageObjectLayouter();
|
||||
if (bForce || ! mpPageObjectLayouter)
|
||||
InvalidateBitmaps();
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue