diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-01-12 18:54:29 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-01-13 15:24:00 +0100 |
commit | 829e236d39707437475b7d7fd599a385ed3cf5e4 (patch) | |
tree | e404fff457986ea76e0f7ff0e21e17549f26cb42 /xmlsecurity/source/helper/xmlsignaturehelper.cxx | |
parent | 2d526a9ffbad7effaabb70f4e52904c09d0ab22b (diff) |
xmlsecurity: initial OOXMLSecParser
Change-Id: Idba2eb384756e72c8b60cb2e810110d6b95b66ad
Diffstat (limited to 'xmlsecurity/source/helper/xmlsignaturehelper.cxx')
-rw-r--r-- | xmlsecurity/source/helper/xmlsignaturehelper.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
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 <com/sun/star/xml/crypto/SEInitializer.hpp> #include <com/sun/star/embed/ElementModes.hpp> #include <com/sun/star/embed/XStorage.hpp> +#include <com/sun/star/embed/StorageFormats.hpp> #include <tools/date.hxx> #include <tools/time.hxx> @@ -390,7 +391,7 @@ bool XMLSignatureHelper::ReadAndVerifySignatureStorageStream(const css::uno::Ref uno::Reference<xml::sax::XParser> xParser = xml::sax::Parser::create(mxCtx); // Create the signature reader. - uno::Reference<xml::sax::XDocumentHandler> xHandler = mpXSecController->createSignatureReader(); + uno::Reference<xml::sax::XDocumentHandler> xHandler = mpXSecController->createSignatureReader(embed::StorageFormats::OFOPXML); // Create the signature listener. ImplXMLSignatureListener* pSignatureListener = new ImplXMLSignatureListener( |