--- /opt/libreoffice/libreoffice-3-3/clone/impress/sd/source/ui/slideshow/slideshowviewimpl.cxx 2010-12-09 10:29:55.000000000 +0000 +++ sd/source/ui/slideshow/slideshowviewimpl.cxx 2011-02-21 15:55:34.000000000 +0000 @@ -289,15 +289,6 @@ { ::osl::ClearableMutexGuard aGuard( m_aMutex ); - if( mbFirstPaint ) - { - mbFirstPaint = false; - SlideshowImpl* pSlideShow = mpSlideShow; - aGuard.clear(); - if( pSlideShow ) - pSlideShow->onFirstPaint(); - } - else { // Change event source, to enable listeners to match event // with view @@ -500,7 +491,17 @@ 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(); } }