summaryrefslogtreecommitdiff
path: root/shell/source/backends/localebe/localebackend.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'shell/source/backends/localebe/localebackend.cxx')
-rw-r--r--shell/source/backends/localebe/localebackend.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/shell/source/backends/localebe/localebackend.cxx b/shell/source/backends/localebe/localebackend.cxx
index a9014050c5d0..b147b67dc0f7 100644
--- a/shell/source/backends/localebe/localebackend.cxx
+++ b/shell/source/backends/localebe/localebackend.cxx
@@ -314,8 +314,7 @@ OUString SAL_CALL LocaleBackend::getImplementationName()
uno::Sequence<OUString> SAL_CALL LocaleBackend::getBackendServiceNames()
{
- uno::Sequence<OUString> aServiceNameList(1);
- aServiceNameList[0] = "com.sun.star.configuration.backend.LocaleBackend";
+ uno::Sequence<OUString> aServiceNameList { "com.sun.star.configuration.backend.LocaleBackend" };
return aServiceNameList ;
}