diff options
-rw-r--r-- | include/xmloff/xmlimp.hxx | 6 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlimprt.cxx | 6 | ||||
-rw-r--r-- | sc/source/filter/xml/xmlimprt.hxx | 6 | ||||
-rw-r--r-- | xmloff/source/core/xmlimp.cxx | 6 |
4 files changed, 16 insertions, 8 deletions
diff --git a/include/xmloff/xmlimp.hxx b/include/xmloff/xmlimp.hxx index 2628e39fe466..5b5ee9a444da 100644 --- a/include/xmloff/xmlimp.hxx +++ b/include/xmloff/xmlimp.hxx @@ -197,8 +197,10 @@ public: // ::com::sun::star::xml::sax::XDocumentHandler virtual void SAL_CALL startDocument(void) throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException ); - virtual void SAL_CALL endDocument(void) - throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException ); + virtual void SAL_CALL endDocument() + throw(::com::sun::star::xml::sax::SAXException, + ::com::sun::star::uno::RuntimeException, + std::exception); virtual void SAL_CALL startElement(const OUString& aName, const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList > & xAttribs) throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException ); diff --git a/sc/source/filter/xml/xmlimprt.cxx b/sc/source/filter/xml/xmlimprt.cxx index abfe32ad8f9e..6314b85cd199 100644 --- a/sc/source/filter/xml/xmlimprt.cxx +++ b/sc/source/filter/xml/xmlimprt.cxx @@ -3177,8 +3177,10 @@ void ScXMLImport::SetSheetNamedRanges() } } -void SAL_CALL ScXMLImport::endDocument(void) -throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException ) +void SAL_CALL ScXMLImport::endDocument() + throw(::com::sun::star::xml::sax::SAXException, + ::com::sun::star::uno::RuntimeException, + std::exception) { ScXMLImport::MutexGuard aGuard(*this); if (getImportFlags() & IMPORT_CONTENT) diff --git a/sc/source/filter/xml/xmlimprt.hxx b/sc/source/filter/xml/xmlimprt.hxx index 1645c32ec43a..4265b800cdbd 100644 --- a/sc/source/filter/xml/xmlimprt.hxx +++ b/sc/source/filter/xml/xmlimprt.hxx @@ -1178,8 +1178,10 @@ public: virtual void SAL_CALL startDocument(void) throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException ); - virtual void SAL_CALL endDocument(void) - throw( ::com::sun::star::xml::sax::SAXException, ::com::sun::star::uno::RuntimeException ); + virtual void SAL_CALL endDocument() + throw(::com::sun::star::xml::sax::SAXException, + ::com::sun::star::uno::RuntimeException, + std::exception); virtual void DisposingModel(); diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx index 001970b5597e..bb88bfbd4604 100644 --- a/xmloff/source/core/xmlimp.cxx +++ b/xmloff/source/core/xmlimp.cxx @@ -502,8 +502,10 @@ void SAL_CALL SvXMLImport::startDocument( void ) } } -void SAL_CALL SvXMLImport::endDocument( void ) - throw( xml::sax::SAXException, uno::RuntimeException) +void SAL_CALL SvXMLImport::endDocument() + throw(xml::sax::SAXException, + uno::RuntimeException, + std::exception) { SAL_INFO( "xmloff.core", "} SvXMLImport::startDocument" ); // #i9518# All the stuff that accesses the document has to be done here, not in the dtor, |