Kaydet (Commit) 76e8c614 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:simplifybool

Change-Id: I427b32e79696bbdc521b78f4b4c1e6f4fce119a7
üst ef5f02d9
......@@ -731,8 +731,7 @@ namespace slideshow
bool DrawShape::isContentChanged() const
{
return mbForceUpdate ?
true :
return mbForceUpdate ||
getUpdateFlags() != ViewShape::NONE;
}
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment