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/animationnodes/sequentialtimecontainer.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/animationnodes/sequentialtimecontainer.cxx')
-rw-r--r-- | slideshow/source/engine/animationnodes/sequentialtimecontainer.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/slideshow/source/engine/animationnodes/sequentialtimecontainer.cxx b/slideshow/source/engine/animationnodes/sequentialtimecontainer.cxx index 9a4737dd9784..3f928593c846 100644 --- a/slideshow/source/engine/animationnodes/sequentialtimecontainer.cxx +++ b/slideshow/source/engine/animationnodes/sequentialtimecontainer.cxx @@ -57,10 +57,6 @@ void SequentialTimeContainer::dispose() mpCurrentSkipEvent->dispose(); mpCurrentSkipEvent.reset(); } - if (mpCurrentRewindEvent) { - mpCurrentRewindEvent->dispose(); - mpCurrentRewindEvent.reset(); - } } void SequentialTimeContainer::skipEffect( @@ -85,8 +81,6 @@ bool SequentialTimeContainer::resolveChild( // discharge events: if (mpCurrentSkipEvent) mpCurrentSkipEvent->dispose(); - if (mpCurrentRewindEvent) - mpCurrentRewindEvent->dispose(); // event that will deactivate the resolved/running child: mpCurrentSkipEvent = makeEvent( |