summaryrefslogtreecommitdiff
path: root/svl/source/uno/pathservice.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/uno/pathservice.cxx')
-rw-r--r--svl/source/uno/pathservice.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svl/source/uno/pathservice.cxx b/svl/source/uno/pathservice.cxx
index f0930bed0cf2..7bca666bd70a 100644
--- a/svl/source/uno/pathservice.cxx
+++ b/svl/source/uno/pathservice.cxx
@@ -55,8 +55,7 @@ public:
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
throw(css::uno::RuntimeException, std::exception) override
{
- css::uno::Sequence< OUString > aRet(1);
- aRet.getArray()[0] = "com.sun.star.config.SpecialConfigManager";
+ css::uno::Sequence< OUString > aRet { "com.sun.star.config.SpecialConfigManager" };
return aRet;
}