summaryrefslogtreecommitdiff
path: root/sw/source/core/graphic/ndgrf.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-02 16:57:26 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-02 16:57:26 +0100
commit4670f1940b2051621ae1fa51f766f6001dd531e3 (patch)
tree4e38fcbe66572e00ab8f6229a7e18ad16ebd87ae /sw/source/core/graphic/ndgrf.cxx
parent9eea356002523012b99f0fda71471572ec567cee (diff)
catch by const reference
Diffstat (limited to 'sw/source/core/graphic/ndgrf.cxx')
-rwxr-xr-xsw/source/core/graphic/ndgrf.cxx8
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!" );