diff options
Diffstat (limited to 'animations')
-rw-r--r-- | animations/source/animcore/animcore.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/animations/source/animcore/animcore.cxx b/animations/source/animcore/animcore.cxx index 2d75b522b2f3..05b7a4747970 100644 --- a/animations/source/animcore/animcore.cxx +++ b/animations/source/animcore/animcore.cxx @@ -423,7 +423,7 @@ AnimationNode::AnimationNode( sal_Int16 nNodeType ) mnIterateType( css::presentation::ShapeAnimationSubType::AS_WHOLE ), mfIterateInterval(0.0) { - assert((sal_uInt32)nNodeType < sizeof(mpTypes)/sizeof(Sequence<Type>*)); + assert(nNodeType < int(SAL_N_ELEMENTS(mpTypes))); } AnimationNode::AnimationNode( const AnimationNode& rNode ) |