summaryrefslogtreecommitdiffstats
path: root/xmlsecurity/source/helper/ooxmlsecparser.cxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-01-13 11:25:12 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-01-13 15:24:00 +0100
commit143f310f1c699de9ea3f146c2cc7c1cf21493f79 (patch)
treec511e355644694bcdd4863939cce652df202231e /xmlsecurity/source/helper/ooxmlsecparser.cxx
parentxmlsecurity: import OOXML <Signature> (diff)
downloadcore-143f310f1c699de9ea3f146c2cc7c1cf21493f79.tar.gz
core-143f310f1c699de9ea3f146c2cc7c1cf21493f79.zip
xmlsecurity: import OOXML <SignedInfo>
Change-Id: I5591b33b41fdfe2e84a6462d0d2db5304cb909cb
Diffstat (limited to 'xmlsecurity/source/helper/ooxmlsecparser.cxx')
-rw-r--r--xmlsecurity/source/helper/ooxmlsecparser.cxx4
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)