diff options
author | Takeshi Abe <tabe@fixedpoint.jp> | 2011-11-30 11:05:16 +0900 |
---|---|---|
committer | Takeshi Abe <tabe@fixedpoint.jp> | 2011-11-30 11:27:42 +0900 |
commit | 7113c7152d1ec875e65e97548fa6243fc83fbc53 (patch) | |
tree | 9fa8fb3e89086e2ed06c8f210ed519331b254414 /bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx | |
parent | 2b2f6abfcc83c4701b42c92c6209a1052324f0a5 (diff) |
catch by constant reference
Diffstat (limited to 'bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx b/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx index aa6d523fc827..3b1aea1cd318 100644 --- a/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx @@ -390,9 +390,9 @@ static void cpp_call( pStackStart, ( pStack - pStackStart ), pGPR, nGPR, pFPR, nFPR ); - } catch (Exception &) { + } catch (const Exception &) { throw; - } catch (std::exception & e) { + } catch (const std::exception & e) { OUStringBuffer buf; buf.appendAscii(RTL_CONSTASCII_STRINGPARAM("C++ code threw ")); appendCString(buf, typeid(e).name()); |