summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/slideshowimpl.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/slideshow/source/engine/slideshowimpl.cxx b/slideshow/source/engine/slideshowimpl.cxx
index 5e0dbbb8074e..121416327191 100644
--- a/slideshow/source/engine/slideshowimpl.cxx
+++ b/slideshow/source/engine/slideshowimpl.cxx
@@ -1041,6 +1041,14 @@ public:
seq[0] >>= mpSlideShowImpl->mxPrefetchSlide;
seq[1] >>= mpSlideShowImpl->mxPrefetchAnimationNode;
}
+ else // rProperty.Value might be tested to 'bool' and 'false'
+ {
+ // IASS: There is no 'next' slide (last one is displayed),
+ // so end/flush Prefetch since that might still hold the
+ // last slide what would prevent updating/re-creating it
+ mpSlideShowImpl->mxPrefetchSlide.clear();
+ mpSlideShowImpl->mpPrefetchSlide.reset();
+ }
}
else if ( rProperty.Name == "SkipAllMainSequenceEffects" )
{