diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-11-23 02:21:12 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2011-11-23 02:21:44 +0900 |
commit | e2de4357f5e1bf6d7f205402f6823032c9d35b1b (patch) | |
tree | fd7e88081276983d285fa8d52fc660a4177185f9 /basic/source/uno | |
parent | 799c944cc11aa6eeb20e5f24bf33434908c4556b (diff) |
catch by const reference
Diffstat (limited to 'basic/source/uno')
-rw-r--r-- | basic/source/uno/namecont.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/basic/source/uno/namecont.cxx b/basic/source/uno/namecont.cxx index 8151b7457e38..5815e61867ba 100644 --- a/basic/source/uno/namecont.cxx +++ b/basic/source/uno/namecont.cxx @@ -820,12 +820,12 @@ sal_Bool SfxLibraryContainer::init_Impl( xParser->setDocumentHandler( ::xmlscript::importLibraryContainer( pLibArray ) ); xParser->parseStream( source ); } - catch ( xml::sax::SAXException& e ) + catch ( const xml::sax::SAXException& e ) { SAL_WARN_S("basic", e.Message); return sal_False; } - catch ( io::IOException& e ) + catch ( const io::IOException& e ) { SAL_WARN_S("basic", e.Message); return sal_False; |