ucbhelper/source/client/proxydecider.cxx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)
New commits: commit 5bd143316162f29227b2f8ec4d165a3260806bde Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Thu Oct 19 10:30:37 2023 +0200 Commit: Stephan Bergmann <sberg...@redhat.com> CommitDate: Fri Oct 20 16:36:04 2023 +0200 Extended loplugin:ostr: Automatic rewrite O[U]StringLiteral: ucbhelper Change-Id: Ib4b300e8b21f772c97dcb49d666f93d2821f0859 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158247 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/ucbhelper/source/client/proxydecider.cxx b/ucbhelper/source/client/proxydecider.cxx index a2abf5a80cdd..e58e31732d3a 100644 --- a/ucbhelper/source/client/proxydecider.cxx +++ b/ucbhelper/source/client/proxydecider.cxx @@ -49,15 +49,15 @@ using namespace com::sun::star; using namespace ucbhelper; -constexpr OUStringLiteral CONFIG_ROOT_KEY = u"org.openoffice.Inet/Settings"; -constexpr OUStringLiteral PROXY_TYPE_KEY = u"ooInetProxyType"; -constexpr OUStringLiteral NO_PROXY_LIST_KEY = u"ooInetNoProxy"; -constexpr OUStringLiteral HTTP_PROXY_NAME_KEY = u"ooInetHTTPProxyName"; -constexpr OUStringLiteral HTTP_PROXY_PORT_KEY = u"ooInetHTTPProxyPort"; -constexpr OUStringLiteral HTTPS_PROXY_NAME_KEY = u"ooInetHTTPSProxyName"; -constexpr OUStringLiteral HTTPS_PROXY_PORT_KEY = u"ooInetHTTPSProxyPort"; -constexpr OUStringLiteral FTP_PROXY_NAME_KEY = u"ooInetFTPProxyName"; -constexpr OUStringLiteral FTP_PROXY_PORT_KEY = u"ooInetFTPProxyPort"; +constexpr OUString CONFIG_ROOT_KEY = u"org.openoffice.Inet/Settings"_ustr; +constexpr OUString PROXY_TYPE_KEY = u"ooInetProxyType"_ustr; +constexpr OUString NO_PROXY_LIST_KEY = u"ooInetNoProxy"_ustr; +constexpr OUString HTTP_PROXY_NAME_KEY = u"ooInetHTTPProxyName"_ustr; +constexpr OUString HTTP_PROXY_PORT_KEY = u"ooInetHTTPProxyPort"_ustr; +constexpr OUString HTTPS_PROXY_NAME_KEY = u"ooInetHTTPSProxyName"_ustr; +constexpr OUString HTTPS_PROXY_PORT_KEY = u"ooInetHTTPSProxyPort"_ustr; +constexpr OUString FTP_PROXY_NAME_KEY = u"ooInetFTPProxyName"_ustr; +constexpr OUString FTP_PROXY_PORT_KEY = u"ooInetFTPProxyPort"_ustr; namespace ucbhelper @@ -303,7 +303,7 @@ InternetProxyDecider_Impl::InternetProxyDecider_Impl( uno::Reference< lang::XMultiServiceFactory > xConfigProv = configuration::theDefaultProvider::get( rxContext ); - uno::Sequence< uno::Any > aArguments{ uno::Any(OUString( CONFIG_ROOT_KEY )) }; + uno::Sequence< uno::Any > aArguments{ uno::Any(CONFIG_ROOT_KEY) }; uno::Reference< uno::XInterface > xInterface( xConfigProv->createInstanceWithArguments( "com.sun.star.configuration.ConfigurationAccess",