diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-12-27 00:12:38 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2011-12-27 10:17:15 +0900 |
commit | c936e5062770ba100c2eddd7889b51d271c6c73c (patch) | |
tree | 7ab2701dce9bfea7ac5b3b319a05a1aeb4a25cad /stoc/source/javaloader | |
parent | 1d55be916472270d23f7d3ff7513dd6df6dc1e46 (diff) |
catch exception by constant reference
Diffstat (limited to 'stoc/source/javaloader')
-rw-r--r-- | stoc/source/javaloader/javaloader.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/javaloader/javaloader.cxx b/stoc/source/javaloader/javaloader.cxx index b30df67e221d..62e4a1c0e741 100644 --- a/stoc/source/javaloader/javaloader.cxx +++ b/stoc/source/javaloader/javaloader.cxx @@ -417,7 +417,7 @@ css::uno::Reference<XInterface> SAL_CALL JavaComponentLoader_CreateInstance(cons pStaticRef = new css::uno::Reference< XInterface > ( xRet ); } } - catch(RuntimeException & runtimeException) { + catch(const RuntimeException & runtimeException) { OString message = OUStringToOString(runtimeException.Message, RTL_TEXTENCODING_ASCII_US); osl_trace("javaloader - could not init javaloader cause of %s", message.getStr()); throw; |