diff options
author | Noel Grandin <noel@peralex.com> | 2014-05-28 12:50:02 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-05-29 09:01:40 +0200 |
commit | ebc0a15515c2e29259a7e229cfbdfb5d26fc3006 (patch) | |
tree | 2ce9446ed312a1a7aed53183b19ecc9fefabea8a /bridges/source/cpp_uno/gcc3_linux_s390x | |
parent | f0ae48b684e89acd7088c31a8feff5fc03d51105 (diff) |
remove more unnecesary OUString constructor use
when throwing exceptions
Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
Diffstat (limited to 'bridges/source/cpp_uno/gcc3_linux_s390x')
-rw-r--r-- | bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno.cxx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno.cxx b/bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno.cxx index 901492e4d7e8..35b26d79388e 100644 --- a/bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno.cxx +++ b/bridges/source/cpp_uno/gcc3_linux_s390x/cpp2uno.cxx @@ -368,9 +368,7 @@ static typelib_TypeClass cpp_mediate( OSL_ENSURE( nFunctionIndex < pTypeDescr->nMapFunctionIndexToMemberIndex, "### illegal vtable index!" ); if (nFunctionIndex >= pTypeDescr->nMapFunctionIndexToMemberIndex) { - throw RuntimeException( - OUString( "illegal vtable index!" ), - (XInterface *)pCppI ); + throw RuntimeException( "illegal vtable index!", (XInterface *)pCppI ); } // determine called method @@ -461,9 +459,7 @@ static typelib_TypeClass cpp_mediate( } default: { - throw RuntimeException( - OUString( "no member description found!" ), - (XInterface *)pCppI ); + throw RuntimeException( "no member description found!", (XInterface *)pCppI ); } } |