diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-12-15 13:51:29 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2011-12-15 13:52:23 +0900 |
commit | 0f44079ce20ece1931c40f62584013ac6d1668e4 (patch) | |
tree | e18d86d4feac4d33f81f03eddf12d53c4391eba9 /jvmfwk/source/fwkutil.cxx | |
parent | 535e37abdb43cf41990fcbd0ef85315b2413c4e3 (diff) |
catch exception by constant reference
Diffstat (limited to 'jvmfwk/source/fwkutil.cxx')
-rw-r--r-- | jvmfwk/source/fwkutil.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jvmfwk/source/fwkutil.cxx b/jvmfwk/source/fwkutil.cxx index 022ee424fe78..4b8c223b768e 100644 --- a/jvmfwk/source/fwkutil.cxx +++ b/jvmfwk/source/fwkutil.cxx @@ -229,7 +229,7 @@ rtl::OUString findPlugin( { expandedPlugin = cppu::bootstrap_expandUri(plugin); } - catch (com::sun::star::lang::IllegalArgumentException & e) + catch (const com::sun::star::lang::IllegalArgumentException & e) { throw FrameworkException( JFW_E_ERROR, @@ -244,7 +244,7 @@ rtl::OUString findPlugin( { sUrl = rtl::Uri::convertRelToAbs(baseUrl, expandedPlugin); } - catch (rtl::MalformedUriException & e) + catch (const rtl::MalformedUriException & e) { throw FrameworkException( JFW_E_ERROR, |