diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-08-02 16:57:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-08-02 16:57:26 +0100 |
commit | 4670f1940b2051621ae1fa51f766f6001dd531e3 (patch) | |
tree | 4e38fcbe66572e00ab8f6229a7e18ad16ebd87ae /sw/source/core/graphic/ndgrf.cxx | |
parent | 9eea356002523012b99f0fda71471572ec567cee (diff) |
catch by const reference
Diffstat (limited to 'sw/source/core/graphic/ndgrf.cxx')
-rwxr-xr-x | sw/source/core/graphic/ndgrf.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx index 65d5cd8ba79c..a8e6dc099a66 100755 --- a/sw/source/core/graphic/ndgrf.cxx +++ b/sw/source/core/graphic/ndgrf.cxx @@ -460,7 +460,7 @@ short SwGrfNode::SwapIn( sal_Bool bWaitForData ) delete pStrm; } } - catch ( uno::Exception& ) + catch (const uno::Exception&) { // #i48434# OSL_FAIL( "<SwGrfNode::SwapIn(..)> - unhandled exception!" ); @@ -730,7 +730,7 @@ void SwGrfNode::DelStreamName() if ( xTrans.is() ) xTrans->commit(); } - catch ( uno::Exception& ) + catch (const uno::Exception&) { // #i48434# OSL_FAIL( "<SwGrfNode::DelStreamName()> - unhandled exception!" ); @@ -882,7 +882,7 @@ SwCntntNode* SwGrfNode::MakeCopy( SwDoc* pDoc, const SwNodeIndex& rIdx ) const delete pStrm; } } - catch ( uno::Exception& ) + catch (const uno::Exception&) { // #i48434# OSL_FAIL( "<SwGrfNode::MakeCopy(..)> - unhandled exception!" ); @@ -971,7 +971,7 @@ IMPL_LINK( SwGrfNode, SwapGraphic, GraphicObject*, pGrfObj ) delete pStrm; } } - catch ( uno::Exception& ) + catch (const uno::Exception&) { // #i48434# OSL_FAIL( "<SwapGraphic> - unhandled exception!" ); |