summaryrefslogtreecommitdiff
path: root/stoc/source/namingservice/namingservice.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/namingservice/namingservice.cxx')
-rw-r--r--stoc/source/namingservice/namingservice.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/stoc/source/namingservice/namingservice.cxx b/stoc/source/namingservice/namingservice.cxx
index e276b1ed1aef..99426ea03151 100644
--- a/stoc/source/namingservice/namingservice.cxx
+++ b/stoc/source/namingservice/namingservice.cxx
@@ -52,8 +52,7 @@ namespace stoc_namingservice
static Sequence< OUString > ns_getSupportedServiceNames()
{
- Sequence< OUString > seqNames(1);
- seqNames.getArray()[0] = SERVICENAME;
+ Sequence< OUString > seqNames { SERVICENAME };
return seqNames;
}