summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/configurationprovider.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/configmgr/source/configurationprovider.cxx b/configmgr/source/configurationprovider.cxx
index 6cbde63f2000..467d73bfdc23 100644
--- a/configmgr/source/configurationprovider.cxx
+++ b/configmgr/source/configurationprovider.cxx
@@ -268,10 +268,7 @@ Service::createInstanceWithArguments(
css::uno::Sequence< OUString > Service::getAvailableServiceNames()
{
- css::uno::Sequence< OUString > names(2);
- names[0] = accessServiceName;
- names[1] = updateAccessServiceName;
- return names;
+ return { accessServiceName, updateAccessServiceName };
}
void Service::refresh() {