[Libreoffice-commits] .: Branch 'libreoffice-3-3' - sd/source
Michael Meeks
mmeeks at kemper.freedesktop.org
Tue Feb 22 03:24:59 PST 2011
sd/source/ui/slideshow/slideshowviewimpl.cxx | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
New commits:
commit 89fe9346a5292ddb1ac19ba734034b61e4b628b2
Author: Michael Meeks <michael.meeks at novell.com>
Date: Tue Feb 22 11:23:46 2011 +0000
fix fdo#34533 - occasional blank first slide in presentation
diff --git a/sd/source/ui/slideshow/slideshowviewimpl.cxx b/sd/source/ui/slideshow/slideshowviewimpl.cxx
index 2000ae0..fa293b2 100644
--- a/sd/source/ui/slideshow/slideshowviewimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowviewimpl.cxx
@@ -500,7 +500,17 @@ void SlideShowView::updateimpl( ::osl::ClearableMutexGuard& rGuard, SlideshowImp
if( pSlideShow )
{
::rtl::Reference< SlideshowImpl > aSLGuard( pSlideShow );
- rGuard.clear();
+
+ if( mbFirstPaint )
+ {
+ mbFirstPaint = false;
+ SlideshowImpl* pSlideShow = mpSlideShow;
+ rGuard.clear();
+ if( pSlideShow )
+ pSlideShow->onFirstPaint();
+ } else
+ rGuard.clear();
+
pSlideShow->startUpdateTimer();
}
}
More information about the Libreoffice-commits
mailing list