diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-04-04 15:33:20 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-04-04 17:13:21 +0100 |
commit | 1a3c99f2c31dbc4dd6b3b5788ea0b49a34bea2c6 (patch) | |
tree | a2be3e4b33ed214e331b013983643fc8cd488cbf /slideshow/source/engine | |
parent | 9f1be6c65210e600baee5c63480df58e8b8ce7b1 (diff) |
callcatcher: update unusedcode
mostly changed due to loplugin:constantfunction
Change-Id: Ib677c78db256f8032a99b3f02a3e363fee68ebcc
Diffstat (limited to 'slideshow/source/engine')
-rw-r--r-- | slideshow/source/engine/usereventqueue.cxx | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/slideshow/source/engine/usereventqueue.cxx b/slideshow/source/engine/usereventqueue.cxx index f19e8f517203..33b0f62834ac 100644 --- a/slideshow/source/engine/usereventqueue.cxx +++ b/slideshow/source/engine/usereventqueue.cxx @@ -572,7 +572,6 @@ UserEventQueue::UserEventQueue( EventMultiplexer& rMultiplexer, mpAudioStoppedEventHandler(), mpClickEventHandler(), mpSkipEffectEventHandler(), - mpRewindEffectEventHandler(), mpDoubleClickEventHandler(), mpMouseEnterHandler(), mpMouseLeaveHandler(), @@ -626,10 +625,6 @@ void UserEventQueue::clear() mrMultiplexer.removeNextEffectHandler( mpSkipEffectEventHandler ); mpSkipEffectEventHandler.reset(); } - if(mpRewindEffectEventHandler) { - mrMultiplexer.removeClickHandler( mpRewindEffectEventHandler ); - mpRewindEffectEventHandler.reset(); - } if( mpShapeDoubleClickEventHandler ) { mrMultiplexer.removeDoubleClickHandler( mpShapeDoubleClickEventHandler ); mrMultiplexer.removeMouseMoveHandler( mpShapeDoubleClickEventHandler ); @@ -782,15 +777,6 @@ void UserEventQueue::registerSkipEffectEvent( mpSkipEffectEventHandler->addEvent( pEvent ); } -void UserEventQueue::registerRewindEffectEvent( EventSharedPtr const& pEvent ) -{ - registerEvent( mpRewindEffectEventHandler, - pEvent, - boost::bind( &EventMultiplexer::addClickHandler, - boost::ref(mrMultiplexer), _1, - -1.0 /* prio below default */ ) ); -} - void UserEventQueue::registerShapeDoubleClickEvent( const EventSharedPtr& rEvent, const ShapeSharedPtr& rShape ) |