diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-03-02 17:38:44 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-03-02 18:43:42 +0200 |
commit | 2289308415682ffd32f35f31ce785cc5ee62bcfc (patch) | |
tree | 968618f91bf14c7065e0a4c8e00c072d9e450177 /sd | |
parent | 08773910b162ada57ad10310f294a8b68ddcd1b5 (diff) |
WaE: use of logical '&&' with constant operand
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/filter/ppt/pptinanimations.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/ppt/pptinanimations.cxx b/sd/source/filter/ppt/pptinanimations.cxx index 7ed1de1e327a..3af544eb88ff 100644 --- a/sd/source/filter/ppt/pptinanimations.cxx +++ b/sd/source/filter/ppt/pptinanimations.cxx @@ -2176,7 +2176,7 @@ void AnimationImporter::importCommandContainer( const Atom* pAtom, const Referen mrStCtrl >> nBits; mrStCtrl >> nCommandType; - if( nBits && 1 ) + if( nBits & 1 ) { dump( " type=\"%s\"", (nCommandType == 0) ? "event" : ( nCommandType == 1) ? "call" : "verb" ); } @@ -2187,7 +2187,7 @@ void AnimationImporter::importCommandContainer( const Atom* pAtom, const Referen { if ( importAttributeValue( pChildAtom, aValue ) ) { - if( nBits && 2 ) + if( nBits & 2 ) { dump( " cmd=\"" ); dump( aValue ); |