diff options
Diffstat (limited to 'xmlsecurity/source/helper/ooxmlsecparser.cxx')
-rw-r--r-- | xmlsecurity/source/helper/ooxmlsecparser.cxx | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/xmlsecurity/source/helper/ooxmlsecparser.cxx b/xmlsecurity/source/helper/ooxmlsecparser.cxx index 8535c8279c49..aff5c1d302c5 100644 --- a/xmlsecurity/source/helper/ooxmlsecparser.cxx +++ b/xmlsecurity/source/helper/ooxmlsecparser.cxx @@ -30,20 +30,19 @@ OOXMLSecParser::~OOXMLSecParser() { } -void SAL_CALL OOXMLSecParser::startDocument() throw (xml::sax::SAXException, uno::RuntimeException, std::exception) +void SAL_CALL OOXMLSecParser::startDocument() { if (m_xNextHandler.is()) m_xNextHandler->startDocument(); } -void SAL_CALL OOXMLSecParser::endDocument() throw (xml::sax::SAXException, uno::RuntimeException, std::exception) +void SAL_CALL OOXMLSecParser::endDocument() { if (m_xNextHandler.is()) m_xNextHandler->endDocument(); } void SAL_CALL OOXMLSecParser::startElement(const OUString& rName, const uno::Reference<xml::sax::XAttributeList>& xAttribs) -throw (xml::sax::SAXException, uno::RuntimeException, std::exception) { OUString aId = xAttribs->getValueByName("Id"); if (!aId.isEmpty()) @@ -123,7 +122,7 @@ throw (xml::sax::SAXException, uno::RuntimeException, std::exception) m_xNextHandler->startElement(rName, xAttribs); } -void SAL_CALL OOXMLSecParser::endElement(const OUString& rName) throw (xml::sax::SAXException, uno::RuntimeException, std::exception) +void SAL_CALL OOXMLSecParser::endElement(const OUString& rName) { if (rName == "SignedInfo") m_pXSecController->setReferenceCount(); @@ -179,7 +178,7 @@ void SAL_CALL OOXMLSecParser::endElement(const OUString& rName) throw (xml::sax: m_xNextHandler->endElement(rName); } -void SAL_CALL OOXMLSecParser::characters(const OUString& rChars) throw (xml::sax::SAXException, uno::RuntimeException, std::exception) +void SAL_CALL OOXMLSecParser::characters(const OUString& rChars) { if (m_bInDigestValue && !m_bInCertDigest) m_aDigestValue += rChars; @@ -202,25 +201,25 @@ void SAL_CALL OOXMLSecParser::characters(const OUString& rChars) throw (xml::sax m_xNextHandler->characters(rChars); } -void SAL_CALL OOXMLSecParser::ignorableWhitespace(const OUString& rWhitespace) throw (xml::sax::SAXException, uno::RuntimeException, std::exception) +void SAL_CALL OOXMLSecParser::ignorableWhitespace(const OUString& rWhitespace) { if (m_xNextHandler.is()) m_xNextHandler->ignorableWhitespace(rWhitespace); } -void SAL_CALL OOXMLSecParser::processingInstruction(const OUString& rTarget, const OUString& rData) throw (xml::sax::SAXException, uno::RuntimeException, std::exception) +void SAL_CALL OOXMLSecParser::processingInstruction(const OUString& rTarget, const OUString& rData) { if (m_xNextHandler.is()) m_xNextHandler->processingInstruction(rTarget, rData); } -void SAL_CALL OOXMLSecParser::setDocumentLocator(const uno::Reference<xml::sax::XLocator>& xLocator) throw (xml::sax::SAXException, uno::RuntimeException, std::exception) +void SAL_CALL OOXMLSecParser::setDocumentLocator(const uno::Reference<xml::sax::XLocator>& xLocator) { if (m_xNextHandler.is()) m_xNextHandler->setDocumentLocator(xLocator); } -void SAL_CALL OOXMLSecParser::initialize(const uno::Sequence<uno::Any>& rArguments) throw (uno::Exception, uno::RuntimeException, std::exception) +void SAL_CALL OOXMLSecParser::initialize(const uno::Sequence<uno::Any>& rArguments) { rArguments[0] >>= m_xNextHandler; } |