From 143f310f1c699de9ea3f146c2cc7c1cf21493f79 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Wed, 13 Jan 2016 11:25:12 +0100 Subject: xmlsecurity: import OOXML Change-Id: I5591b33b41fdfe2e84a6462d0d2db5304cb909cb --- xmlsecurity/source/helper/ooxmlsecparser.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'xmlsecurity/source/helper/ooxmlsecparser.cxx') diff --git a/xmlsecurity/source/helper/ooxmlsecparser.cxx b/xmlsecurity/source/helper/ooxmlsecparser.cxx index d08073e3c8e1..a070e8f3ccd9 100644 --- a/xmlsecurity/source/helper/ooxmlsecparser.cxx +++ b/xmlsecurity/source/helper/ooxmlsecparser.cxx @@ -44,8 +44,10 @@ throw (xml::sax::SAXException, uno::RuntimeException, std::exception) } } -void SAL_CALL OOXMLSecParser::endElement(const OUString& /*rName*/) throw (xml::sax::SAXException, uno::RuntimeException, std::exception) +void SAL_CALL OOXMLSecParser::endElement(const OUString& rName) throw (xml::sax::SAXException, uno::RuntimeException, std::exception) { + if (rName == "SignedInfo") + m_pXSecController->setReferenceCount(); } void SAL_CALL OOXMLSecParser::characters(const OUString& /*rChars*/) throw (xml::sax::SAXException, uno::RuntimeException, std::exception) -- cgit