summaryrefslogtreecommitdiff
path: root/slideshow/source
diff options
context:
space:
mode:
authorGülşah Köse <gulsah.kose@collabora.com>2020-03-23 15:33:40 +0300
committerGülşah Köse <gulsah.kose@collabora.com>2020-03-26 19:36:07 +0100
commit80f386f787ad59936ead2022e6d932a6d441c6e9 (patch)
tree4b9d72b6c7d4988cf7fc0f010741e6a594ad117f /slideshow/source
parentc76fdcf1cfa1242e66b50ebe80d6eac1baae37a9 (diff)
tdf#131254 Prevent extra eventqueue empty call.
That call disables advance timing setting when we back to previous slide. Its comment line says "Process initial events and skip any animations that are started when the slide is shown" but it can still skip any animations. It seems that is an unnneeded call here. Change-Id: Iec23409da8285f5b7a8bff3d9c4f507a997ae885 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90913 Tested-by: Jenkins Reviewed-by: Gülşah Köse <gulsah.kose@collabora.com>
Diffstat (limited to 'slideshow/source')
-rw-r--r--slideshow/source/engine/effectrewinder.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/effectrewinder.cxx b/slideshow/source/engine/effectrewinder.cxx
index 79b1f9159a29..060e1dfd92ee 100644
--- a/slideshow/source/engine/effectrewinder.cxx
+++ b/slideshow/source/engine/effectrewinder.cxx
@@ -410,7 +410,7 @@ void EffectRewinder::asynchronousRewind (
// Process initial events and skip any animations that are started
// when the slide is shown.
mbNonUserTriggeredMainSequenceEffectSeen = false;
- mrEventQueue.forceEmpty();
+
if (mbNonUserTriggeredMainSequenceEffectSeen)
{
mrUserEventQueue.callSkipEffectEventHandler();