From a0656ec6fc2b41e65f1b40dbd64f546175e2762f Mon Sep 17 00:00:00 2001 From: Mike Kaganski Date: Thu, 25 Mar 2021 09:53:33 +0300 Subject: const OUString -> const OUStringLiteral Mostly automated rewrite Change-Id: Ie020a083f898bc126b8fb039d4ecb2e687172da1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112965 Tested-by: Jenkins Reviewed-by: Mike Kaganski --- desktop/source/app/crashreport.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'desktop/source/app') diff --git a/desktop/source/app/crashreport.cxx b/desktop/source/app/crashreport.cxx index 82300fa19ddc..ff9c80c51996 100644 --- a/desktop/source/app/crashreport.cxx +++ b/desktop/source/app/crashreport.cxx @@ -127,8 +127,8 @@ void CrashReporter::writeCommonInfo() ucbhelper::InternetProxyDecider proxy_decider(::comphelper::getProcessComponentContext()); - const OUString protocol = "https"; - const OUString url = "crashreport.libreoffice.org"; + static const OUStringLiteral protocol = u"https"; + static const OUStringLiteral url = u"crashreport.libreoffice.org"; const sal_Int32 port = 443; const ucbhelper::InternetProxyServer proxy_server = proxy_decider.getProxy(protocol, url, port); -- cgit