loplugin:simplifybool
Change-Id: I427b32e79696bbdc521b78f4b4c1e6f4fce119a7
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user