diff options
Diffstat (limited to 'xmlscript/source/xmllib_imexp/xmllib_import.cxx')
-rw-r--r-- | xmlscript/source/xmllib_imexp/xmllib_import.cxx | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/xmlscript/source/xmllib_imexp/xmllib_import.cxx b/xmlscript/source/xmllib_imexp/xmllib_import.cxx index e1873ff7ef85..9af39029da4c 100644 --- a/xmlscript/source/xmllib_imexp/xmllib_import.cxx +++ b/xmlscript/source/xmllib_imexp/xmllib_import.cxx @@ -24,55 +24,55 @@ namespace xmlscript { Reference< xml::input::XElement > LibElementBase::getParent() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return static_cast< xml::input::XElement * >( _pParent ); } OUString LibElementBase::getLocalName() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return _aLocalName; } sal_Int32 LibElementBase::getUid() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return _pImport->XMLNS_LIBRARY_UID; } Reference< xml::input::XAttributes > LibElementBase::getAttributes() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return _xAttributes; } void LibElementBase::ignorableWhitespace( OUString const & /*rWhitespaces*/ ) - throw (xml::sax::SAXException, RuntimeException) + throw (xml::sax::SAXException, RuntimeException, std::exception) { } void LibElementBase::characters( OUString const & /*rChars*/ ) - throw (xml::sax::SAXException, RuntimeException) + throw (xml::sax::SAXException, RuntimeException, std::exception) { // not used, all characters ignored } void LibElementBase::processingInstruction( OUString const & /*rTarget*/, OUString const & /*rData*/ ) - throw (xml::sax::SAXException, RuntimeException) + throw (xml::sax::SAXException, RuntimeException, std::exception) { } void LibElementBase::endElement() - throw (xml::sax::SAXException, RuntimeException) + throw (xml::sax::SAXException, RuntimeException, std::exception) { } Reference< xml::input::XElement > LibElementBase::startChildElement( sal_Int32 /*nUid*/, OUString const & /*rLocalName*/, Reference< xml::input::XAttributes > const & /*xAttributes*/ ) - throw (xml::sax::SAXException, RuntimeException) + throw (xml::sax::SAXException, RuntimeException, std::exception) { throw xml::sax::SAXException("unexpected element!", Reference< XInterface >(), Any() ); } @@ -115,33 +115,33 @@ LibElementBase::~LibElementBase() void LibraryImport::startDocument( Reference< xml::input::XNamespaceMapping > const & xNamespaceMapping ) - throw (xml::sax::SAXException, RuntimeException) + throw (xml::sax::SAXException, RuntimeException, std::exception) { XMLNS_LIBRARY_UID = xNamespaceMapping->getUidByUri( XMLNS_LIBRARY_URI ); XMLNS_XLINK_UID = xNamespaceMapping->getUidByUri( XMLNS_XLINK_URI ); } void LibraryImport::endDocument() - throw (xml::sax::SAXException, RuntimeException) + throw (xml::sax::SAXException, RuntimeException, std::exception) { } void LibraryImport::processingInstruction( OUString const & /*rTarget*/, OUString const & /*rData*/ ) - throw (xml::sax::SAXException, RuntimeException) + throw (xml::sax::SAXException, RuntimeException, std::exception) { } void LibraryImport::setDocumentLocator( Reference< xml::sax::XLocator > const & /*xLocator*/ ) - throw (xml::sax::SAXException, RuntimeException) + throw (xml::sax::SAXException, RuntimeException, std::exception) { } Reference< xml::input::XElement > LibraryImport::startRootElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException) + throw (xml::sax::SAXException, RuntimeException, std::exception) { if (XMLNS_LIBRARY_UID != nUid) { @@ -181,7 +181,7 @@ LibraryImport::~LibraryImport() Reference< xml::input::XElement > LibrariesElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException) + throw (xml::sax::SAXException, RuntimeException, std::exception) { if (_pImport->XMLNS_LIBRARY_UID != nUid) { @@ -209,7 +209,7 @@ Reference< xml::input::XElement > LibrariesElement::startChildElement( } void LibrariesElement::endElement() - throw (xml::sax::SAXException, RuntimeException) + throw (xml::sax::SAXException, RuntimeException, std::exception) { sal_Int32 nLibCount = _pImport->mpLibArray->mnLibCount = (sal_Int32)mLibDescriptors.size(); _pImport->mpLibArray->mpLibs = new LibDescriptor[ nLibCount ]; @@ -225,7 +225,7 @@ void LibrariesElement::endElement() Reference< xml::input::XElement > LibraryElement::startChildElement( sal_Int32 nUid, OUString const & rLocalName, Reference< xml::input::XAttributes > const & xAttributes ) - throw (xml::sax::SAXException, RuntimeException) + throw (xml::sax::SAXException, RuntimeException, std::exception) { if (_pImport->XMLNS_LIBRARY_UID != nUid) { @@ -247,7 +247,7 @@ Reference< xml::input::XElement > LibraryElement::startChildElement( } void LibraryElement::endElement() - throw (xml::sax::SAXException, RuntimeException) + throw (xml::sax::SAXException, RuntimeException, std::exception) { sal_Int32 nElementCount = mElements.size(); Sequence< OUString > aElementNames( nElementCount ); |