summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/transitions/slidetransitionfactory.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/transitions/slidetransitionfactory.cxx b/slideshow/source/engine/transitions/slidetransitionfactory.cxx
index 5b6ae3f0c74e..2a4566ca647a 100644
--- a/slideshow/source/engine/transitions/slidetransitionfactory.cxx
+++ b/slideshow/source/engine/transitions/slidetransitionfactory.cxx
@@ -674,7 +674,7 @@ NumberAnimationSharedPtr createPushWipeTransition(
const SoundPlayerSharedPtr& pSoundPlayer )
{
boost::optional<SlideSharedPtr> leavingSlide; // no bitmap
- if (leavingSlide_ && (*leavingSlide_).get() != nullptr)
+ if (leavingSlide_ && *leavingSlide_ != nullptr)
{
// opt: only page, if we've an
// actual slide to move out here. We