diff options
Diffstat (limited to 'comphelper/source/misc/configurationhelper.cxx')
-rw-r--r-- | comphelper/source/misc/configurationhelper.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/comphelper/source/misc/configurationhelper.cxx b/comphelper/source/misc/configurationhelper.cxx index f3853baeff81..228885e2ec5a 100644 --- a/comphelper/source/misc/configurationhelper.cxx +++ b/comphelper/source/misc/configurationhelper.cxx @@ -51,7 +51,7 @@ css::uno::Reference< css::uno::XInterface > ConfigurationHelper::openConfig(cons if (eMode & EConfigurationModes::AllLocales) { aParam.Name = "locale"; - aParam.Value <<= OUString("*"); + aParam.Value <<= u"*"_ustr; lParams.emplace_back(aParam); } @@ -61,11 +61,11 @@ css::uno::Reference< css::uno::XInterface > ConfigurationHelper::openConfig(cons bool bReadOnly(eMode & EConfigurationModes::ReadOnly); if (bReadOnly) xCFG = xConfigProvider->createInstanceWithArguments( - "com.sun.star.configuration.ConfigurationAccess", + u"com.sun.star.configuration.ConfigurationAccess"_ustr, comphelper::containerToSequence(lParams)); else xCFG = xConfigProvider->createInstanceWithArguments( - "com.sun.star.configuration.ConfigurationUpdateAccess", + u"com.sun.star.configuration.ConfigurationUpdateAccess"_ustr, comphelper::containerToSequence(lParams)); return xCFG; |