diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-12-14 00:03:52 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2011-12-14 01:31:17 +0900 |
commit | 520891d058f9e936b9b8afb490b5a26c156008ef (patch) | |
tree | 6cb8ebad42c3504cb3e26249ba3458afb02a9922 /framework/source/fwe/xml/statusbarconfiguration.cxx | |
parent | 4c1c531435e1bdb151d45626648486062012cbaa (diff) |
catch exception by constant reference
Diffstat (limited to 'framework/source/fwe/xml/statusbarconfiguration.cxx')
-rw-r--r-- | framework/source/fwe/xml/statusbarconfiguration.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/framework/source/fwe/xml/statusbarconfiguration.cxx b/framework/source/fwe/xml/statusbarconfiguration.cxx index cc9d2504548b..f71c79991a6e 100644 --- a/framework/source/fwe/xml/statusbarconfiguration.cxx +++ b/framework/source/fwe/xml/statusbarconfiguration.cxx @@ -99,15 +99,15 @@ sal_Bool StatusBarConfiguration::LoadStatusBar( xParser->parseStream( aInputSource ); return sal_True; } - catch ( RuntimeException& ) + catch ( const RuntimeException& ) { return sal_False; } - catch( SAXException& ) + catch( const SAXException& ) { return sal_False; } - catch( ::com::sun::star::io::IOException& ) + catch( const ::com::sun::star::io::IOException& ) { return sal_False; } @@ -128,15 +128,15 @@ sal_Bool StatusBarConfiguration::StoreStatusBar( aWriteStatusBarDocumentHandler.WriteStatusBarDocument(); return sal_True; } - catch ( RuntimeException& ) + catch ( const RuntimeException& ) { return sal_False; } - catch ( SAXException& ) + catch ( const SAXException& ) { return sal_False; } - catch ( ::com::sun::star::io::IOException& ) + catch ( const ::com::sun::star::io::IOException& ) { return sal_False; } |