summaryrefslogtreecommitdiff
path: root/sd/source/ui/slideshow
diff options
context:
space:
mode:
authorPetr Mladek <pmladek@suse.cz>2011-04-05 17:34:44 +0200
committerPetr Mladek <pmladek@suse.cz>2011-04-05 17:34:44 +0200
commit08f795fef4ac23e9252c3f0074adb23cd8b36ce4 (patch)
tree76e3ff1401e6ce49f8679266b60ef4620fdc7b8e /sd/source/ui/slideshow
parent486270c1b4b8595da6238222988e8d24932aca9a (diff)
parenta82087ada54119343ac425c5999aa6c72c094581 (diff)
Merge remote-tracking branch 'origin/libreoffice-3-3' into libreoffice-3-4
Diffstat (limited to 'sd/source/ui/slideshow')
-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 62d0097e0353..0d0673d84414 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();
}
}