summaryrefslogtreecommitdiff
path: root/xmlsecurity
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-09-04 17:23:18 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-09-04 17:23:18 +0200
commitaf5059d19a37c6f2dffd756c579e92d30f65bc8b (patch)
tree6fa6891a4d96e2d0999e47911a3fd37d69bb3c09 /xmlsecurity
parent197a79e57131c976a489882479a679ba2ab61b82 (diff)
Some clean up of previous commit
Change-Id: I0ea6d6439f97fcf74162c19671483aaa17b5a6cb
Diffstat (limited to 'xmlsecurity')
-rw-r--r--xmlsecurity/workben/signaturetest.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlsecurity/workben/signaturetest.cxx b/xmlsecurity/workben/signaturetest.cxx
index e5e3ac52ff31..f0c45fd95b1d 100644
--- a/xmlsecurity/workben/signaturetest.cxx
+++ b/xmlsecurity/workben/signaturetest.cxx
@@ -304,7 +304,7 @@ IMPL_LINK_NOARG(MyWin, DigitalSignaturesWithServiceHdl)
aDocFileName, embed::ElementModes::READWRITE, comphelper::getProcessServiceFactory() );
uno::Reference< security::XDocumentDigitalSignatures > xD(
- security::DocumentDigitalSignatures::create(comphelper::getProcessComponentContext() );
+ security::DocumentDigitalSignatures::createDefault(comphelper::getProcessComponentContext() );
xD->signDocumentContent( xStore, NULL );
@@ -318,7 +318,7 @@ IMPL_LINK_NOARG(MyWin, VerifyDigitalSignaturesHdl)
aDocFileName, embed::ElementModes::READWRITE, comphelper::getProcessServiceFactory() );
uno::Reference< security::XDocumentDigitalSignatures > xD(
- security::DocumentDigitalSignatures::create(comphelper::getProcessComponentContext()) );
+ security::DocumentDigitalSignatures::createDefault(comphelper::getProcessComponentContext()) );
uno::Sequence< security::DocumentSignatureInformation > aInfos = xD->verifyDocumentContentSignatures( xStore, NULL );
int nInfos = aInfos.getLength();
for ( int n = 0; n < nInfos; n++ )