diff options
author | Petr Mladek <pmladek@suse.cz> | 2011-04-05 17:34:44 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2011-04-05 17:34:44 +0200 |
commit | 08f795fef4ac23e9252c3f0074adb23cd8b36ce4 (patch) | |
tree | 76e3ff1401e6ce49f8679266b60ef4620fdc7b8e /sd/source/ui/slideshow | |
parent | 486270c1b4b8595da6238222988e8d24932aca9a (diff) | |
parent | a82087ada54119343ac425c5999aa6c72c094581 (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.cxx | 12 |
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(); } } |