From ebc0a15515c2e29259a7e229cfbdfb5d26fc3006 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 28 May 2014 12:50:02 +0200 Subject: remove more unnecesary OUString constructor use when throwing exceptions Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac --- bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'bridges/source/cpp_uno/msvc_win32_intel') diff --git a/bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx b/bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx index 016f7248f290..58e3fbc96ac2 100644 --- a/bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx +++ b/bridges/source/cpp_uno/msvc_win32_intel/cpp2uno.cxx @@ -337,9 +337,7 @@ static typelib_TypeClass __cdecl cpp_mediate( } default: { - throw RuntimeException( - OUString("no member description found!"), - (XInterface *)pThis ); + throw RuntimeException( "no member description found!", (XInterface *)pThis ); } } @@ -442,8 +440,7 @@ bridges::cpp_uno::shared::VtableFactory::initializeBlock( Rtti(): n0(0), n1(0), n2(0), rtti(CPPU_CURRENT_NAMESPACE::msci_getRTTI( - OUString( - "com.sun.star.uno.XInterface"))) + OUString("com.sun.star.uno.XInterface"))) {} }; static Rtti rtti; -- cgit