diff options
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()); |