[Libreoffice-commits] .: sd/source

Ivan Timofeev ivantimofeev at kemper.freedesktop.org
Sun Jan 22 03:26:18 PST 2012


 sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 799f2de5d1085d845ec498af0a7932965c42ed68
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date:   Sun Jan 22 14:53:11 2012 +0400

    fdo#43705: fix incomplete updating of the page preview pane in Draw
    
    This regression was introduced in f215333002882872129066828228d3343a903331.
    As stated in PageObjectPainter::PaintPageObject:
      "The page object layouter is quite volatile."
    The rest of usages of mpPageObjectLayouter looks sane, but who knows...

diff --git a/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx b/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx
index c376e45..8a2ae0b 100644
--- a/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx
+++ b/sd/source/ui/slidesorter/view/SlsPageObjectPainter.cxx
@@ -167,6 +167,7 @@ void PageObjectPainter::PaintPageObject (
 
 void PageObjectPainter::NotifyResize (const bool bForce)
 {
+    mpPageObjectLayouter = mrLayouter.GetPageObjectLayouter();
     if (bForce || ! mpPageObjectLayouter)
         InvalidateBitmaps();
     else


More information about the Libreoffice-commits mailing list