summaryrefslogtreecommitdiff
path: root/sd/source/ui/animations/SlideTransitionPane.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/animations/SlideTransitionPane.cxx')
-rw-r--r--sd/source/ui/animations/SlideTransitionPane.cxx12
1 files changed, 2 insertions, 10 deletions
diff --git a/sd/source/ui/animations/SlideTransitionPane.cxx b/sd/source/ui/animations/SlideTransitionPane.cxx
index b80be66e0fca..dc65fdde43da 100644
--- a/sd/source/ui/animations/SlideTransitionPane.cxx
+++ b/sd/source/ui/animations/SlideTransitionPane.cxx
@@ -925,8 +925,8 @@ void SlideTransitionPane::applyToSelectedPages(bool bPreview = true)
{
if (aEffect.mnType) // mnType = 0 denotes no transition
playCurrentEffect();
- else
- stopEffects();
+ else if( mxView.is() )
+ SlideShow::Stop( mrBase );
}
if (pFocusWindow)
@@ -944,14 +944,6 @@ void SlideTransitionPane::playCurrentEffect()
}
}
-void SlideTransitionPane::stopEffects()
-{
- if( mxView.is() )
- {
- SlideShow::Stop( mrBase );
- }
-}
-
void SlideTransitionPane::addListener()
{
Link<tools::EventMultiplexerEvent&,void> aLink( LINK(this,SlideTransitionPane,EventMultiplexerListener) );