summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorHerbert Dürr <hdu@apache.org>2013-02-28 14:26:29 +0000
committerHerbert Dürr <hdu@apache.org>2013-02-28 14:26:29 +0000
commit510b15078a1bee0f291f4dfc98b03ab09a51d7a9 (patch)
tree8a649d69c72e66e0203249b1ff3f58736090968c /sd/source
parent03000fc46e82b1741b3df3f742f4b3062da338d6 (diff)
fix miscarried bitwise check in ppt::AnimationImporter
Notes
Notes: prefer: 2289308415682ffd32f35f31ce785cc5ee62bcfc
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/filter/ppt/pptinanimations.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/filter/ppt/pptinanimations.cxx b/sd/source/filter/ppt/pptinanimations.cxx
index f11dd6601813..181bb75d3314 100644
--- a/sd/source/filter/ppt/pptinanimations.cxx
+++ b/sd/source/filter/ppt/pptinanimations.cxx
@@ -2197,7 +2197,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" );
}
@@ -2208,7 +2208,7 @@ void AnimationImporter::importCommandContainer( const Atom* pAtom, const Referen
{
if ( importAttributeValue( pChildAtom, aValue ) )
{
- if( nBits && 2 )
+ if( nBits & 2 )
{
dump( " cmd=\"" );
dump( aValue );