summaryrefslogtreecommitdiff
path: root/animations
diff options
context:
space:
mode:
authorGökhan Gurbetoğlu <gokhan.gurbetoglu@pardus.org.tr>2016-09-01 10:14:36 +0300
committerMichael Stahl <mstahl@redhat.com>2016-09-05 12:53:19 +0000
commitf62d22286972d22809fafbd9cb44263d12a6aa85 (patch)
tree8dc0a1d07166b04347c1b44ac4e255f77b7ae26a /animations
parent6004f5c61ec4b075075360e49b138d34ad84d056 (diff)
tdf#43157 - Clean up OSL_ASSERT, DBG_ASSERT, etc.
Change-Id: I8114e338451b5b2e79b2318f558cbd075f024f08 Reviewed-on: https://gerrit.libreoffice.org/28584 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'animations')
-rw-r--r--animations/source/animcore/animcore.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/animations/source/animcore/animcore.cxx b/animations/source/animcore/animcore.cxx
index 56d4dafe74e1..604b7e231a4c 100644
--- a/animations/source/animcore/animcore.cxx
+++ b/animations/source/animcore/animcore.cxx
@@ -429,7 +429,7 @@ AnimationNode::AnimationNode( sal_Int16 nNodeType )
mnIterateType( css::presentation::ShapeAnimationSubType::AS_WHOLE ),
mfIterateInterval(0.0)
{
- OSL_ENSURE((sal_uInt32)nNodeType < sizeof(mpTypes)/sizeof(Sequence<Type>*), "NodeType out of range");
+ assert((sal_uInt32)nNodeType < sizeof(mpTypes)/sizeof(Sequence<Type>*));
}
AnimationNode::AnimationNode( const AnimationNode& rNode )
@@ -1215,7 +1215,7 @@ Reference< XCloneable > SAL_CALL AnimationNode::createClone() throw (RuntimeExce
}
catch(const Exception&)
{
- OSL_TRACE( "animations::AnimationNode::createClone(), exception caught!" );
+ SAL_INFO("animations", "animations::AnimationNode::createClone(), exception caught!");
}
}
}
@@ -1223,7 +1223,7 @@ Reference< XCloneable > SAL_CALL AnimationNode::createClone() throw (RuntimeExce
}
catch(const Exception&)
{
- OSL_TRACE( "animations::AnimationNode::createClone(), exception caught!" );
+ SAL_INFO("animations", "animations::AnimationNode::createClone(), exception caught!");
}
return xNewNode;