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/xml | |
parent | 4c1c531435e1bdb151d45626648486062012cbaa (diff) |
catch exception by constant reference
Diffstat (limited to 'framework/source/xml')
-rw-r--r-- | framework/source/xml/imagesconfiguration.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/framework/source/xml/imagesconfiguration.cxx b/framework/source/xml/imagesconfiguration.cxx index 28e187b094f1..738d6f2930eb 100644 --- a/framework/source/xml/imagesconfiguration.cxx +++ b/framework/source/xml/imagesconfiguration.cxx @@ -104,15 +104,15 @@ sal_Bool ImagesConfiguration::LoadImages( 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; } @@ -134,15 +134,15 @@ sal_Bool ImagesConfiguration::StoreImages( aWriteImagesDocumentHandler.WriteImagesDocument(); 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; } |