summaryrefslogtreecommitdiff
path: root/stoc/source/invocation/invocation.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/invocation/invocation.cxx')
-rw-r--r--stoc/source/invocation/invocation.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/stoc/source/invocation/invocation.cxx b/stoc/source/invocation/invocation.cxx
index 8ec0c9ae00c9..9c2a2ab3387d 100644
--- a/stoc/source/invocation/invocation.cxx
+++ b/stoc/source/invocation/invocation.cxx
@@ -69,13 +69,13 @@ namespace stoc_inv
static Sequence< OUString > inv_getSupportedServiceNames()
{
Sequence< OUString > seqNames(1);
- seqNames.getArray()[0] = OUString(RTL_CONSTASCII_USTRINGPARAM(SERVICENAME));
+ seqNames.getArray()[0] = OUString(SERVICENAME);
return seqNames;
}
static OUString inv_getImplementationName()
{
- return OUString(RTL_CONSTASCII_USTRINGPARAM(IMPLNAME));
+ return OUString(IMPLNAME);
}
// TODO: Zentral implementieren
@@ -601,7 +601,7 @@ void Invocation_Impl::setValue( const OUString& PropertyName, const Any& Value )
catch (const Exception & exc)
{
throw InvocationTargetException(
- OUString( RTL_CONSTASCII_USTRINGPARAM("exception occurred in setValue(): ") ) +
+ OUString( "exception occurred in setValue(): " ) +
exc.Message, Reference< XInterface >(), makeAny( exc /* though sliced */ ) );
}
}
@@ -912,7 +912,7 @@ InvocationInfo SAL_CALL Invocation_Impl::getInfoForName( const OUString& aName,
if( !bFound )
{
throw IllegalArgumentException(
- OUString( RTL_CONSTASCII_USTRINGPARAM("Unknown name, getExactName() failed!") ),
+ OUString( "Unknown name, getExactName() failed!" ),
(XWeak *)(OWeakObject *)this, 0 );
}
return aRetInfo;