diff options
Diffstat (limited to 'slideshow/source')
-rw-r--r-- | slideshow/source/engine/animationnodes/animationsetnode.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/slideshow/source/engine/animationnodes/animationsetnode.cxx b/slideshow/source/engine/animationnodes/animationsetnode.cxx index ecc96a81e386..f7669b7214d3 100644 --- a/slideshow/source/engine/animationnodes/animationsetnode.cxx +++ b/slideshow/source/engine/animationnodes/animationsetnode.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: animationsetnode.cxx,v $ - * $Revision: 1.10 $ + * $Revision: 1.11 $ * * This file is part of OpenOffice.org. * @@ -76,7 +76,7 @@ AnimationActivitySharedPtr AnimationSetNode::createActivity() const if (! isIndefiniteTiming( xAnimateNode->getDuration() )) { boost::shared_ptr<AnimationSetNode> const pSelf( boost::dynamic_pointer_cast<AnimationSetNode>(getSelf()) ); - ENSURE_AND_THROW( + ENSURE_OR_THROW( pSelf, "cannot cast getSelf() to my type!" ); aParms.mpEndEvent = makeEvent( boost::bind( &AnimationSetNode::implScheduleDeactivationEvent, @@ -86,7 +86,7 @@ AnimationActivitySharedPtr AnimationSetNode::createActivity() const switch (AnimationFactory::classifyAttributeName( attrName )) { default: case AnimationFactory::CLASS_UNKNOWN_PROPERTY: - ENSURE_AND_THROW( + ENSURE_OR_THROW( false, "AnimationSetNode::createSetActivity(): " "Unexpected attribute class" ); break; @@ -95,7 +95,7 @@ AnimationActivitySharedPtr AnimationSetNode::createActivity() const { NumberAnimation::ValueType aValue; - ENSURE_AND_THROW( + ENSURE_OR_THROW( extractValue( aValue, xAnimateNode->getTo(), pShape, @@ -118,7 +118,7 @@ AnimationActivitySharedPtr AnimationSetNode::createActivity() const { EnumAnimation::ValueType aValue; - ENSURE_AND_THROW( + ENSURE_OR_THROW( extractValue( aValue, xAnimateNode->getTo(), pShape, @@ -141,7 +141,7 @@ AnimationActivitySharedPtr AnimationSetNode::createActivity() const { ColorAnimation::ValueType aValue; - ENSURE_AND_THROW( + ENSURE_OR_THROW( extractValue( aValue, xAnimateNode->getTo(), pShape, @@ -164,7 +164,7 @@ AnimationActivitySharedPtr AnimationSetNode::createActivity() const { StringAnimation::ValueType aValue; - ENSURE_AND_THROW( + ENSURE_OR_THROW( extractValue( aValue, xAnimateNode->getTo(), pShape, @@ -187,7 +187,7 @@ AnimationActivitySharedPtr AnimationSetNode::createActivity() const { BoolAnimation::ValueType aValue; - ENSURE_AND_THROW( + ENSURE_OR_THROW( extractValue( aValue, xAnimateNode->getTo(), pShape, |