diff options
Diffstat (limited to 'slideshow/source')
-rw-r--r-- | slideshow/source/engine/animationnodes/generateevent.cxx | 8 | ||||
-rw-r--r-- | slideshow/source/engine/slideshowimpl.cxx | 2 | ||||
-rw-r--r-- | slideshow/source/engine/transitions/slidetransitionfactory.cxx | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/slideshow/source/engine/animationnodes/generateevent.cxx b/slideshow/source/engine/animationnodes/generateevent.cxx index b228f041a93e..6d61c0c251e9 100644 --- a/slideshow/source/engine/animationnodes/generateevent.cxx +++ b/slideshow/source/engine/animationnodes/generateevent.cxx @@ -127,7 +127,7 @@ EventSharedPtr generateEvent( case animations::EventTrigger::ON_CLICK: // try to extract XShape event source event2shape(); - if (pShape.get()) + if (pShape) { pEvent = makeDelay( rFunctor, nDelay2 + nAdditionalDelay, @@ -143,7 +143,7 @@ EventSharedPtr generateEvent( case animations::EventTrigger::ON_DBL_CLICK: // try to extract XShape event source event2shape(); - if (pShape.get()) + if (pShape) { pEvent = makeDelay( rFunctor, nDelay2 + nAdditionalDelay, @@ -159,7 +159,7 @@ EventSharedPtr generateEvent( case animations::EventTrigger::ON_MOUSE_ENTER: // try to extract XShape event source event2shape(); - if (pShape.get()) + if (pShape) { pEvent = makeDelay( rFunctor, nDelay2 + nAdditionalDelay, @@ -175,7 +175,7 @@ EventSharedPtr generateEvent( case animations::EventTrigger::ON_MOUSE_LEAVE: // try to extract XShape event source event2shape(); - if (pShape.get()) + if (pShape) { pEvent = makeDelay( rFunctor, nDelay2 + nAdditionalDelay, diff --git a/slideshow/source/engine/slideshowimpl.cxx b/slideshow/source/engine/slideshowimpl.cxx index b06a05bf06b1..ebae0d83276d 100644 --- a/slideshow/source/engine/slideshowimpl.cxx +++ b/slideshow/source/engine/slideshowimpl.cxx @@ -1808,7 +1808,7 @@ void SlideShowImpl::addShapeEventListener( } // add new listener to broadcaster - if( aIter->second.get() ) + if( aIter->second ) aIter->second->addInterface( xListener ); maEventMultiplexer.notifyShapeListenerAdded(xShape); diff --git a/slideshow/source/engine/transitions/slidetransitionfactory.cxx b/slideshow/source/engine/transitions/slidetransitionfactory.cxx index 66faf10e09b3..3ec2c8089e6f 100644 --- a/slideshow/source/engine/transitions/slidetransitionfactory.cxx +++ b/slideshow/source/engine/transitions/slidetransitionfactory.cxx @@ -924,7 +924,7 @@ NumberAnimationSharedPtr TransitionFactory::createSlideTransition( pSoundPlayer, rEventMultiplexer )); - if( pTransition.get() ) + if( pTransition ) return pTransition; } |