diff options
Diffstat (limited to 'slideshow/source/engine/effectrewinder.cxx')
-rw-r--r-- | slideshow/source/engine/effectrewinder.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/slideshow/source/engine/effectrewinder.cxx b/slideshow/source/engine/effectrewinder.cxx index b094634cc117..6fac9696deef 100644 --- a/slideshow/source/engine/effectrewinder.cxx +++ b/slideshow/source/engine/effectrewinder.cxx @@ -1,7 +1,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -110,17 +110,17 @@ void EffectRewinder::initialize (void) // main sequence effect and if so, increase the respective counter), // b,c) a slide was started or ended (in which case the effect counter // is reset. - + mpAnimationStartHandler.reset( new RewinderAnimationEventHandler( ::boost::bind(&EffectRewinder::notifyAnimationStart, this, _1))); mrEventMultiplexer.addAnimationStartHandler(mpAnimationStartHandler); - + mpSlideStartHandler.reset( new RewinderEventHandler( ::boost::bind(&EffectRewinder::resetEffectCount, this))); mrEventMultiplexer.addSlideStartHandler(mpSlideStartHandler); - + mpSlideEndHandler.reset( new RewinderEventHandler( ::boost::bind(&EffectRewinder::resetEffectCount, this))); @@ -145,7 +145,7 @@ void EffectRewinder::dispose (void) mpAsynchronousRewindEvent->dispose(); mpAsynchronousRewindEvent.reset(); } - + if (mpAnimationStartHandler) { mrEventMultiplexer.removeAnimationStartHandler(mpAnimationStartHandler); @@ -194,7 +194,7 @@ bool EffectRewinder::rewind ( // Abort (and skip over the rest of) any currently active animation. mrUserEventQueue.callSkipEffectEventHandler(); mrEventQueue.forceEmpty(); - + const int nSkipCount (mnMainSequenceEffectCount - 1); if (nSkipCount < 0) { @@ -298,7 +298,7 @@ sal_Int32 EffectRewinder::countMainSequenceEffects (void) } return nMainSequenceNodeCount; - + // // Skip all main sequence nodes. // SkipSomeMainSequenceEffects(nMainSequenceNodeCount); } @@ -352,7 +352,7 @@ bool EffectRewinder::notifyAnimationStart (const AnimationNodeSharedPtr& rpNode) // This notification is only relevant for us when the effect is user // triggered. bool bIsUserTriggered (false); - + Reference<animations::XAnimationNode> xNode (rpNode->getXAnimationNode()); if (xNode.is()) { |