diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-01-13 11:25:12 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-01-13 15:24:00 +0100 |
commit | 143f310f1c699de9ea3f146c2cc7c1cf21493f79 (patch) | |
tree | c511e355644694bcdd4863939cce652df202231e /xmlsecurity/source/helper/ooxmlsecparser.cxx | |
parent | aac43335e2acdba57e3bb5567decb157f2d0bda4 (diff) |
xmlsecurity: import OOXML <SignedInfo>
Change-Id: I5591b33b41fdfe2e84a6462d0d2db5304cb909cb
Diffstat (limited to 'xmlsecurity/source/helper/ooxmlsecparser.cxx')
-rw-r--r-- | xmlsecurity/source/helper/ooxmlsecparser.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
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) |