Kaydet (Commit) ab8e3757 authored tarafından Michael Meeks's avatar Michael Meeks

fdo#59881 - sdremote: revert un-necessary locking change.

Change-Id: Id455dd87f01bbea0c5a4ae26734c0aba5699ac71
üst 53e28cba
...@@ -2131,7 +2131,7 @@ sal_Bool SlideShowImpl::update( double & nNextTimeout ) ...@@ -2131,7 +2131,7 @@ sal_Bool SlideShowImpl::update( double & nNextTimeout )
void SlideShowImpl::notifySlideTransitionEnded( bool bPaintSlide ) void SlideShowImpl::notifySlideTransitionEnded( bool bPaintSlide )
{ {
osl::ResettableMutexGuard guard( m_aMutex ); osl::MutexGuard const guard( m_aMutex );
OSL_ENSURE( !isDisposed(), "### already disposed!" ); OSL_ENSURE( !isDisposed(), "### already disposed!" );
OSL_ENSURE( mpCurrentSlide, OSL_ENSURE( mpCurrentSlide,
...@@ -2144,10 +2144,6 @@ void SlideShowImpl::notifySlideTransitionEnded( bool bPaintSlide ) ...@@ -2144,10 +2144,6 @@ void SlideShowImpl::notifySlideTransitionEnded( bool bPaintSlide )
// the chance to register SlideStartEvents // the chance to register SlideStartEvents
const bool bBackgroundLayerRendered( !bPaintSlide ); const bool bBackgroundLayerRendered( !bPaintSlide );
mpCurrentSlide->show( bBackgroundLayerRendered ); mpCurrentSlide->show( bBackgroundLayerRendered );
uno::Reference<presentation::XSlideShow> xThis(
static_cast< presentation::XSlideShow * >( this ), uno::UNO_QUERY_THROW );
guard.reset(); // unlock
maEventMultiplexer.notifySlideStartEvent(); maEventMultiplexer.notifySlideStartEvent();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment