From f62d22286972d22809fafbd9cb44263d12a6aa85 Mon Sep 17 00:00:00 2001 From: Gökhan Gurbetoğlu Date: Thu, 1 Sep 2016 10:14:36 +0300 Subject: tdf#43157 - Clean up OSL_ASSERT, DBG_ASSERT, etc. Change-Id: I8114e338451b5b2e79b2318f558cbd075f024f08 Reviewed-on: https://gerrit.libreoffice.org/28584 Tested-by: Jenkins Reviewed-by: Michael Stahl --- animations/source/animcore/animcore.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'animations') 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*), "NodeType out of range"); + assert((sal_uInt32)nNodeType < sizeof(mpTypes)/sizeof(Sequence*)); } 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; -- cgit