From 829e236d39707437475b7d7fd599a385ed3cf5e4 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Tue, 12 Jan 2016 18:54:29 +0100 Subject: xmlsecurity: initial OOXMLSecParser Change-Id: Idba2eb384756e72c8b60cb2e810110d6b95b66ad --- xmlsecurity/source/helper/xmlsignaturehelper.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xmlsecurity/source/helper/xmlsignaturehelper.cxx') diff --git a/xmlsecurity/source/helper/xmlsignaturehelper.cxx b/xmlsecurity/source/helper/xmlsignaturehelper.cxx index 95f26e3f54de..e2f60f574406 100644 --- a/xmlsecurity/source/helper/xmlsignaturehelper.cxx +++ b/xmlsecurity/source/helper/xmlsignaturehelper.cxx @@ -41,6 +41,7 @@ #include #include #include +#include #include #include @@ -390,7 +391,7 @@ bool XMLSignatureHelper::ReadAndVerifySignatureStorageStream(const css::uno::Ref uno::Reference xParser = xml::sax::Parser::create(mxCtx); // Create the signature reader. - uno::Reference xHandler = mpXSecController->createSignatureReader(); + uno::Reference xHandler = mpXSecController->createSignatureReader(embed::StorageFormats::OFOPXML); // Create the signature listener. ImplXMLSignatureListener* pSignatureListener = new ImplXMLSignatureListener( -- cgit