summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@novell.com>2011-02-22 11:23:46 +0000
committerMichael Meeks <michael.meeks@novell.com>2011-02-22 11:23:46 +0000
commit89fe9346a5292ddb1ac19ba734034b61e4b628b2 (patch)
tree36b8953f1f60f93b7797619221c01fd1ebed9a3b /sd
parentb2cdf7bfe14ea650e52a4c90aaf5628b193d8509 (diff)
fix fdo#34533 - occasional blank first slide in presentation
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/slideshow/slideshowviewimpl.cxx12
1 files changed, 11 insertions, 1 deletions
diff --git a/sd/source/ui/slideshow/slideshowviewimpl.cxx b/sd/source/ui/slideshow/slideshowviewimpl.cxx
index 2000ae0c4..fa293b2a7 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();
}
}