summaryrefslogtreecommitdiff
path: root/extensions/source/update/check/updatecheckconfig.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/update/check/updatecheckconfig.cxx')
-rw-r--r--extensions/source/update/check/updatecheckconfig.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/source/update/check/updatecheckconfig.cxx b/extensions/source/update/check/updatecheckconfig.cxx
index e8b29d784b6d..f0254c51994f 100644
--- a/extensions/source/update/check/updatecheckconfig.cxx
+++ b/extensions/source/update/check/updatecheckconfig.cxx
@@ -494,8 +494,7 @@ UpdateCheckConfig::clearUpdateFound()
uno::Sequence< OUString >
UpdateCheckConfig::getServiceNames()
{
- uno::Sequence< OUString > aServiceList(1);
- aServiceList[0] = "com.sun.star.setup.UpdateCheckConfig";
+ uno::Sequence< OUString > aServiceList { "com.sun.star.setup.UpdateCheckConfig" };
return aServiceList;
}