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 /cpputools/source | |
parent | f0ae48b684e89acd7088c31a8feff5fc03d51105 (diff) |
remove more unnecesary OUString constructor use
when throwing exceptions
Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
Diffstat (limited to 'cpputools/source')
-rw-r--r-- | cpputools/source/unoexe/unoexe.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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!" ); |