diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-03-24 15:02:53 +0000 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-03-27 07:15:36 +0000 |
commit | 1bf940eb2bb6b937b2175875bfebca46cca98d45 (patch) | |
tree | e7a70d000074befc7eff5db56f50bbf20fc717ad /xmlsecurity | |
parent | 913395e99bbee7b43bf215588956c1b8e4f578c7 (diff) |
gpg4libre: One service should be enough for the dialog to work
Change-Id: I2279c39e4dddec94cb061fe9bcad06804a6d35c9
Reviewed-on: https://gerrit.libreoffice.org/35664
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/helper/documentsignaturemanager.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/source/helper/documentsignaturemanager.cxx b/xmlsecurity/source/helper/documentsignaturemanager.cxx index 7a7e10c3dc31..fb9fbf429cd2 100644 --- a/xmlsecurity/source/helper/documentsignaturemanager.cxx +++ b/xmlsecurity/source/helper/documentsignaturemanager.cxx @@ -66,7 +66,7 @@ bool DocumentSignatureManager::init() if (mxGpgSEInitializer.is()) mxGpgSecurityContext = mxGpgSEInitializer->createSecurityContext(OUString()); - return mxSecurityContext.is() && mxGpgSecurityContext.is(); + return mxSecurityContext.is() || mxGpgSecurityContext.is(); #else return mxSecurityContext.is(); #endif |