summaryrefslogtreecommitdiff
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
commit8866590209375e5666dc7a2d8621def531f5cdf9 (patch)
treeb6ea2cf4b760dcd49f1c6368db3e931525aa7e1e
parent2a253f886743d4a0e08109f9826c06e4744a7230 (diff)
catch by const reference
-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 775c46e844..85af4ff674 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!" );