diff options
Diffstat (limited to 'configmgr/source/configurationregistry.cxx')
-rw-r--r-- | configmgr/source/configurationregistry.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configmgr/source/configurationregistry.cxx b/configmgr/source/configurationregistry.cxx index c0e945ffc622..e4d86c46e9f2 100644 --- a/configmgr/source/configurationregistry.cxx +++ b/configmgr/source/configurationregistry.cxx @@ -246,8 +246,8 @@ void Service::open(OUString const & rURL, sal_Bool bReadOnly, sal_Bool) if (access_.is()) { doClose(); } - css::uno::Sequence< css::uno::Any > args(1); - args[0] <<= css::beans::NamedValue("nodepath", css::uno::Any(rURL)); + css::uno::Sequence< css::uno::Any > args{ css::uno::Any( + css::beans::NamedValue("nodepath", css::uno::Any(rURL))) }; try { access_ = provider_->createInstanceWithArguments( (bReadOnly |