summaryrefslogtreecommitdiff
path: root/xmlsecurity/qa/unit
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-08-10 12:53:01 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-08-10 14:42:45 +0200
commit3246cfff9af705399eda37997179b51c2cc12ccb (patch)
treed13d5311f9109661c6271be86b664ea88ad8aa9c /xmlsecurity/qa/unit
parenta1973e0511625ab79332f9e2859c26c37cdd04b8 (diff)
assertDocument is only defined for HAVE_FEATURE_GPGVERIFY
Change-Id: I2dbe5da48d1114703481fffcc310f775308df007 Reviewed-on: https://gerrit.libreoffice.org/77236 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'xmlsecurity/qa/unit')
-rw-r--r--xmlsecurity/qa/unit/signing/signing.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmlsecurity/qa/unit/signing/signing.cxx b/xmlsecurity/qa/unit/signing/signing.cxx
index 87411c7afa72..da2019c26eba 100644
--- a/xmlsecurity/qa/unit/signing/signing.cxx
+++ b/xmlsecurity/qa/unit/signing/signing.cxx
@@ -85,9 +85,11 @@ protected:
uno::Reference<security::XCertificate>
getCertificate(DocumentSignatureManager& rSignatureManager,
svl::crypto::SignatureMethodAlgorithm eAlgo);
+#if HAVE_FEATURE_GPGVERIFY
SfxObjectShell* assertDocument(const ::CppUnit::SourceLine aSrcLine,
const OUString& rFilterName, const SignatureState nDocSign,
const SignatureState nMacroSign, const OUString& sVersion);
+#endif
};
SigningTest::SigningTest() {}