From eae2e1d6d61e7096d3fc0220832a1d1705d70093 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 4 May 2022 19:33:06 +0200 Subject: Just use Any ctor instead of makeAny in comphelper Change-Id: Ib3edbef27c2d25dae8bac07e0199af071131170e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133839 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- comphelper/source/misc/configuration.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'comphelper/source/misc/configuration.cxx') diff --git a/comphelper/source/misc/configuration.cxx b/comphelper/source/misc/configuration.cxx index a8ef15ac9178..097eabb6a345 100644 --- a/comphelper/source/misc/configuration.cxx +++ b/comphelper/source/misc/configuration.cxx @@ -145,8 +145,8 @@ comphelper::detail::ConfigurationWrapper::ConfigurationWrapper(): // set root path css::uno::Sequence< css::uno::Any > params { - css::uno::makeAny( css::beans::NamedValue{ "nodepath", css::uno::makeAny( OUString("/"))} ), - css::uno::makeAny( css::beans::NamedValue{ "locale", css::uno::makeAny( OUString("*"))} ) }; + css::uno::Any( css::beans::NamedValue{ "nodepath", css::uno::Any( OUString("/"))} ), + css::uno::Any( css::beans::NamedValue{ "locale", css::uno::Any( OUString("*"))} ) }; css::uno::Reference< css::uno::XInterface > xCfg = xConfigProvider->createInstanceWithArguments(u"com.sun.star.configuration.ConfigurationAccess", -- cgit