summaryrefslogtreecommitdiff
path: root/cpputools/source/unoexe/unoexe.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cpputools/source/unoexe/unoexe.cxx')
-rw-r--r--cpputools/source/unoexe/unoexe.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpputools/source/unoexe/unoexe.cxx b/cpputools/source/unoexe/unoexe.cxx
index 54be5c8038e9..cb345ca020ac 100644
--- a/cpputools/source/unoexe/unoexe.cxx
+++ b/cpputools/source/unoexe/unoexe.cxx
@@ -502,7 +502,7 @@ SAL_IMPLEMENT_MAIN()
}
if (!(aImplName.isEmpty() || aServiceName.isEmpty()))
- throw RuntimeException( OUString("give component exOR service name!" ), Reference< XInterface >() );
+ throw RuntimeException("give component exOR service name!", Reference< XInterface >() );
if (aImplName.isEmpty() && aServiceName.isEmpty())
{
if (! aUnoUrl.endsWithIgnoreAsciiCaseAsciiL(
@@ -516,7 +516,7 @@ SAL_IMPLEMENT_MAIN()
Reference<XInterface>() );
}
if (!aImplName.isEmpty() && aLocation.isEmpty())
- throw RuntimeException( OUString("give component location!" ), Reference< XInterface >() );
+ throw RuntimeException("give component location!", Reference< XInterface >() );
if (!aServiceName.isEmpty() && !aLocation.isEmpty())
out( "\n> warning: service name given, will ignore location!" );
@@ -541,7 +541,7 @@ SAL_IMPLEMENT_MAIN()
if (nTokens != 3 || aUnoUrl.getLength() < 10 ||
!aUnoUrl.copy( 0, 4 ).equalsIgnoreAsciiCase( OUString("uno:") ))
{
- throw RuntimeException( OUString("illegal uno url given!" ), Reference< XInterface >() );
+ throw RuntimeException("illegal uno url given!", Reference< XInterface >() );
}
nIndex = 0;
OUString aConnectDescr( aUnoUrl.getToken( 0, ';', nIndex ).copy( 4 ) ); // uno:CONNECTDESCR;iiop;InstanceName