summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorCanberk TURAN <canberkkturann@gmail.com>2020-01-27 14:54:18 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2020-01-29 22:10:18 +0100
commita654caf5dbca9635d4e7f89eb6d125ea98626da3 (patch)
tree2879e25a1aae73649732e0110ac7651001e6abc0 /configmgr
parent67ae9380b7adb67590192d6122b713839eaf4665 (diff)
tdf#88205: Adapt uses of css::uno::Sequence to use initializer_list ctor
Changed to one-line return Change-Id: I2ce55ff3c7f218823418ed623b03e6a4fcbc0d2c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87515 Tested-by: Jenkins Reviewed-by: Muhammet Kara <muhammet.kara@collabora.com>
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() {