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