summaryrefslogtreecommitdiff
path: root/stoc/source/invocation_adapterfactory
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-16 17:30:34 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-16 17:30:34 +0100
commitbc909149fdb3256b80367cd6e55378406ec8d979 (patch)
treebd3da50c305e734d5fd374bdc3640c8e83778334 /stoc/source/invocation_adapterfactory
parent9b03a827b2955edf5dc726d498276c4f94639c8d (diff)
stoc: Use appropriate OUString functions on string constants
Change-Id: If8c20c8a0958016c14007406244fc8ab9a742933
Diffstat (limited to 'stoc/source/invocation_adapterfactory')
-rw-r--r--stoc/source/invocation_adapterfactory/iafactory.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/stoc/source/invocation_adapterfactory/iafactory.cxx b/stoc/source/invocation_adapterfactory/iafactory.cxx
index c35cca4e3bf7..c3bdf2f8dcc5 100644
--- a/stoc/source/invocation_adapterfactory/iafactory.cxx
+++ b/stoc/source/invocation_adapterfactory/iafactory.cxx
@@ -48,7 +48,6 @@
#include <com/sun/star/reflection/InvocationTargetException.hpp>
#include <com/sun/star/uno/RuntimeException.hpp>
-#define SERVICENAME "com.sun.star.script.InvocationAdapterFactory"
#define IMPLNAME "com.sun.star.comp.stoc.InvocationAdapterFactory"
@@ -63,8 +62,7 @@ namespace stoc_invadp
static Sequence< OUString > invadp_getSupportedServiceNames()
{
Sequence< OUString > seqNames(1);
- seqNames.getArray()[0] =
- OUString(SERVICENAME);
+ seqNames.getArray()[0] = "com.sun.star.script.InvocationAdapterFactory";
return seqNames;
}