From 39c3574b799690d4405d9318a5ba221b5feaccbe Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 27 Apr 2021 18:08:53 +0200 Subject: use string_view in INetURLObject::encode Change-Id: Ib686c6872388b02c8939d3b65f6bd25cda348bc8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114754 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmlsecurity/source/gpg/SecurityEnvironment.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmlsecurity') diff --git a/xmlsecurity/source/gpg/SecurityEnvironment.cxx b/xmlsecurity/source/gpg/SecurityEnvironment.cxx index fac71b6ad472..6660e64f28bb 100644 --- a/xmlsecurity/source/gpg/SecurityEnvironment.cxx +++ b/xmlsecurity/source/gpg/SecurityEnvironment.cxx @@ -60,7 +60,7 @@ SecurityEnvironmentGpg::SecurityEnvironmentGpg() OUString sPath; osl_getExecutableFile(&sPath.pData); INetURLObject aPathUrl(sPath); - aPathUrl.setName("gpgme-w32spawn.exe"); + aPathUrl.setName(u"gpgme-w32spawn.exe"); if (!accessUrl(aPathUrl)) { sPath = "$BRAND_BASE_DIR/" LIBO_LIBEXEC_FOLDER "/gpgme-w32spawn.exe"; -- cgit v1.2.3