summaryrefslogtreecommitdiff
path: root/stoc/source/invocation/invocation.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-10-31 17:49:01 +0200
committerNoel Grandin <noel@peralex.com>2013-11-08 14:50:59 +0200
commitcd30747b74683dc5766073a4a9b3a4c0e5db3723 (patch)
treea1833a51a2f501693100bb449e5a4b28f564379e /stoc/source/invocation/invocation.cxx
parentc3e55a1f3b88fd53d13f563a4116d588643c34d7 (diff)
remove unnecessary use of OUString constructor in STOC module
Change-Id: I980223cedb6d0054ef71cbd81691f70a24f506ad
Diffstat (limited to 'stoc/source/invocation/invocation.cxx')
-rw-r--r--stoc/source/invocation/invocation.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/stoc/source/invocation/invocation.cxx b/stoc/source/invocation/invocation.cxx
index 80a71e4572bf..1d8df1ed0aba 100644
--- a/stoc/source/invocation/invocation.cxx
+++ b/stoc/source/invocation/invocation.cxx
@@ -70,7 +70,7 @@ namespace stoc_inv
static Sequence< OUString > inv_getSupportedServiceNames()
{
Sequence< OUString > seqNames(1);
- seqNames.getArray()[0] = OUString(SERVICENAME);
+ seqNames.getArray()[0] = SERVICENAME;
return seqNames;
}
@@ -668,7 +668,7 @@ Any Invocation_Impl::invoke( const OUString& FunctionName, const Sequence<Any>&
{
CannotConvertException aExc;
aExc.Context = *this;
- aExc.Message = OUString("invocation type mismatch!");
+ aExc.Message = "invocation type mismatch!";
throw aExc;
}
}
@@ -708,7 +708,7 @@ Any Invocation_Impl::invoke( const OUString& FunctionName, const Sequence<Any>&
RuntimeException aExc;
aExc.Context = *this;
- aExc.Message = OUString("invocation lacking of introspection access!");
+ aExc.Message = "invocation lacking of introspection access!";
throw aExc;
}