tdf#116085 add more Gpg4Win binary locations
Seems Gpg4Win recently grew a few more variants where to put stuff.
Look there, too.
Change-Id: Ifa09db11665671f518a6a66480c1a71fd619d8cd
Reviewed-on: https://gerrit.libreoffice.org/77341
Tested-by: Jenkins
Reviewed-by: Xisco FaulĂ <xiscofauli@libreoffice.org>
(cherry picked from commit 536ab2f3ba1e71badaaf98db9419ca7c7ddd7ac4)
Reviewed-on: https://gerrit.libreoffice.org/77421
diff --git a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
index d7ea836..584266f 100644
--- a/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
+++ b/xmlsecurity/source/dialogs/digitalsignaturesdialog.cxx
@@ -496,9 +496,14 @@ IMPL_STATIC_LINK(DigitalSignaturesDialog, CertMgrButtonHdl, Button*, pButton, vo
// FIXME: call GpgME::dirInfo("bindir") somewhere in
// SecurityEnvironmentGpg or whatnot
// FIXME: perhaps poke GpgME for uiserver, and hope it returns something useful?
const OUString aGUIServers[] = { OUString("Gpg4win\\kleopatra.exe"), OUString("GNU\\GnuPG\\kleopatra.exe"),
OUString("GNU\\GnuPG\\launch-gpa.exe"), OUString("GNU\\GnuPG\\gpa.exe"),
OUString("GNU\\GnuPG\\bin\\kleopatra.exe"), OUString("GNU\\GnuPG\\bin\\launch-gpa.exe"),
const OUString aGUIServers[] = { OUString("Gpg4win\\kleopatra.exe"),
OUString("Gpg4win\\bin\\kleopatra.exe"),
OUString("GNU\\GnuPG\\kleopatra.exe"),
OUString("GNU\\GnuPG\\launch-gpa.exe"),
OUString("GNU\\GnuPG\\gpa.exe"),
OUString("GnuPG\\bin\\gpa.exe"),
OUString("GNU\\GnuPG\\bin\\kleopatra.exe"),
OUString("GNU\\GnuPG\\bin\\launch-gpa.exe"),
OUString("GNU\\GnuPG\\bin\\gpa.exe") };
const char* const cPath = "C:\\Program Files (x86)";
#else