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 /jvmaccess | |
parent | 535e37abdb43cf41990fcbd0ef85315b2413c4e3 (diff) |
catch exception by constant reference
Diffstat (limited to 'jvmaccess')
-rw-r--r-- | jvmaccess/source/classpath.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jvmaccess/source/classpath.cxx b/jvmaccess/source/classpath.cxx index 2389a9481cc1..b1a26df48960 100644 --- a/jvmaccess/source/classpath.cxx +++ b/jvmaccess/source/classpath.cxx @@ -89,7 +89,7 @@ void * ::jvmaccess::ClassPath::doTranslateToUrls( css::uno::UNO_QUERY_THROW); try { url = expUrl->expand(expander); - } catch (css::lang::IllegalArgumentException & e) { + } catch (const css::lang::IllegalArgumentException & e) { throw css::uno::RuntimeException( (::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( |