summaryrefslogtreecommitdiff
path: root/slideshow/source/inc/interruptabledelayevent.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow/source/inc/interruptabledelayevent.hxx')
-rw-r--r--slideshow/source/inc/interruptabledelayevent.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/inc/interruptabledelayevent.hxx b/slideshow/source/inc/interruptabledelayevent.hxx
index 7f22bbc2dbf8..a0cec175948d 100644
--- a/slideshow/source/inc/interruptabledelayevent.hxx
+++ b/slideshow/source/inc/interruptabledelayevent.hxx
@@ -62,7 +62,7 @@ namespace slideshow
// pass on to wrappee - this ensures that we return
// false on isCharged(), even if the other event has
// been fired outside our own fire() method
- return !mpEvent ? false : mpEvent->isCharged();
+ return mpEvent && mpEvent->isCharged();
}
virtual double getActivationTime( double nCurrentTime ) const SAL_OVERRIDE