summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-12-10 23:16:33 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-12-11 08:57:01 +0100
commite28ed8c0fb2ffcf5d3a282563ee3a1bf5687b875 (patch)
tree7017cf47e0c4039cc47f60bd102a4fc0668e55f9 /xmlsecurity
parentc8d46b68aec94528c3c787484df3b2ad5479d46b (diff)
loplugin:conststringvar (clang-cl)
Change-Id: Icb0e32716ae58886912a1a1c7c50e66f30256227 Reviewed-on: https://gerrit.libreoffice.org/46202 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
index 195c74ec5c3e..e2dff90c55fa 100644
--- a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
+++ b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
@@ -474,7 +474,7 @@ IMPL_STATIC_LINK_NOARG(DigitalSignaturesDialog, CertMgrButtonHdl, Button*, void)
// FIXME: perhaps poke GpgME for uiserver, and hope it returns something useful?
const OUString aGUIServers[] = { OUString("kleopatra.exe"), OUString("launch-gpa.exe"), OUString("gpa.exe"),
OUString("bin\\kleopatra.exe"), OUString("bin\\launch-gpa.exe"), OUString("bin\\gpa.exe") };
- const char* cPath = "C:\\Program Files (x86)\\GNU\\GnuPG";
+ const char* const cPath = "C:\\Program Files (x86)\\GNU\\GnuPG";
#else
const OUString aGUIServers[] = { OUString("kleopatra"), OUString("seahorse"), OUString("gpa"), OUString("kgpg") };
const char* cPath = getenv("PATH");