diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-31 12:08:52 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-01-31 19:37:48 +0100 |
commit | de06f883e2ab53e5d74d480da7abb5c7dd33de3e (patch) | |
tree | d63697b67e57575222b38030ab082a59dcb1aa19 /slideshow/source/engine/usereventqueue.cxx | |
parent | c599e23a92310916d4e7f09c5aaf354d63973d0b (diff) |
loplugin:unusedfields improve checking for fields guarded by existence check
which resulted in only a couple of real finds, mostly false+
Change-Id: I26058a29c27bff50e9526bedd54fb04589c2934d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87765
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'slideshow/source/engine/usereventqueue.cxx')
-rw-r--r-- | slideshow/source/engine/usereventqueue.cxx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/slideshow/source/engine/usereventqueue.cxx b/slideshow/source/engine/usereventqueue.cxx index 2dfeba8221ff..bd3e1820ea14 100644 --- a/slideshow/source/engine/usereventqueue.cxx +++ b/slideshow/source/engine/usereventqueue.cxx @@ -535,7 +535,6 @@ UserEventQueue::UserEventQueue( EventMultiplexer& rMultiplexer, mpAudioStoppedEventHandler(), mpClickEventHandler(), mpSkipEffectEventHandler(), - mpDoubleClickEventHandler(), mpMouseEnterHandler(), mpMouseLeaveHandler(), mbAdvanceOnClick( true ) @@ -591,10 +590,6 @@ void UserEventQueue::clear() mrMultiplexer.removeMouseMoveHandler( mpShapeDoubleClickEventHandler ); mpShapeDoubleClickEventHandler.reset(); } - if( mpDoubleClickEventHandler ) { - mrMultiplexer.removeDoubleClickHandler( mpDoubleClickEventHandler ); - mpDoubleClickEventHandler.reset(); - } if( mpMouseEnterHandler ) { mrMultiplexer.removeMouseMoveHandler( mpMouseEnterHandler ); mpMouseEnterHandler.reset(); |