diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-08-24 11:22:56 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2011-08-24 11:30:17 +0900 |
commit | e1a1091d0ae61ba46c6d063a92db0b7d1ce65942 (patch) | |
tree | 5cd7f5ba6ad9fc1e859263332b4f96167ac927ce /animations | |
parent | 8dfa38c418125ad880e9d4b2a968f0f1778d6de4 (diff) |
catch ignored exceptions by const reference
Diffstat (limited to 'animations')
-rw-r--r-- | animations/source/animcore/animcore.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/animations/source/animcore/animcore.cxx b/animations/source/animcore/animcore.cxx index 1a1258f7312f..2bd2e7f68ae5 100644 --- a/animations/source/animcore/animcore.cxx +++ b/animations/source/animcore/animcore.cxx @@ -1194,18 +1194,16 @@ Reference< XCloneable > SAL_CALL AnimationNode::createClone() throw (RuntimeExce if( xNewChildNode.is() ) xContainer->appendChild( xNewChildNode ); } - catch( Exception& e ) + catch(const Exception&) { - (void)e; OSL_TRACE( "animations::AnimationNode::createClone(), exception caught!" ); } } } } } - catch( Exception& e ) + catch(const Exception&) { - (void)e; OSL_TRACE( "animations::AnimationNode::createClone(), exception caught!" ); } |