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 --- cpputools/source/unoexe/unoexe.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpputools/source/unoexe/unoexe.cxx') diff --git a/cpputools/source/unoexe/unoexe.cxx b/cpputools/source/unoexe/unoexe.cxx index 076088df9b0e..f06b2dca42ca 100644 --- a/cpputools/source/unoexe/unoexe.cxx +++ b/cpputools/source/unoexe/unoexe.cxx @@ -438,10 +438,10 @@ SAL_IMPLEMENT_MAIN() { if (! aUnoUrl.endsWithIgnoreAsciiCase( ";uno.ComponentContext" )) throw RuntimeException( - OUString("expected UNO-URL with instance name uno.ComponentContext!" ) ); + "expected UNO-URL with instance name uno.ComponentContext!" ); if (bSingleInstance) throw RuntimeException( - OUString("unexpected option --singleinstance!") ); + "unexpected option --singleinstance!" ); } if (!aImplName.isEmpty() && aLocation.isEmpty()) throw RuntimeException("give component location!" ); -- cgit