catch by const reference

This commit is contained in:
Caolán McNamara 2011-08-02 16:57:26 +01:00
parent 9eea356002
commit 4670f1940b

View file

@ -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!" );