summaryrefslogtreecommitdiff
path: root/xmlsecurity/workben/pdfverify.cxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-12-22 08:16:23 +0200
committerTor Lillqvist <tml@collabora.com>2016-12-22 08:48:16 +0200
commitb1c145876007352a59f389126746c8ef0f660ee5 (patch)
tree8a77b6e5334108ff11377eadfa870b60b9ce37f4 /xmlsecurity/workben/pdfverify.cxx
parentcc15806b527cc02c57bd92211fda259e33963106 (diff)
Revert "[API CHANGE] createSecurityContext() was always called with an empty string"
I got cold feet. I don't want to have to revert this many years later instead, when some obscure 3rd-party software stops working. This reverts commit e1ce7bad62f07faf8f21adac6c3848d142f61953.
Diffstat (limited to 'xmlsecurity/workben/pdfverify.cxx')
-rw-r--r--xmlsecurity/workben/pdfverify.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/workben/pdfverify.cxx b/xmlsecurity/workben/pdfverify.cxx
index fea369d74e4d..92504fcba42d 100644
--- a/xmlsecurity/workben/pdfverify.cxx
+++ b/xmlsecurity/workben/pdfverify.cxx
@@ -56,7 +56,7 @@ int pdfVerify(int nArgc, char** pArgv)
SAL_WARN("xmlsecurity.pdfio", "DeploymentException while creating SEInitializer: " << rException.Message);
return 1;
}
- uno::Reference<xml::crypto::XXMLSecurityContext> xSecurityContext = xSEInitializer->createSecurityContext();
+ uno::Reference<xml::crypto::XXMLSecurityContext> xSecurityContext = xSEInitializer->createSecurityContext(OUString());
OUString aInURL;
osl::FileBase::getFileURLFromSystemPath(OUString::fromUtf8(pArgv[1]), aInURL);