diff options
-rw-r--r-- | include/sax/fastparser.hxx | 2 | ||||
-rw-r--r-- | sax/source/fastparser/fastparser.cxx | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/sax/fastparser.hxx b/include/sax/fastparser.hxx index 83fbe9df7fa7..12d5b4d263df 100644 --- a/include/sax/fastparser.hxx +++ b/include/sax/fastparser.hxx @@ -53,7 +53,7 @@ public: virtual ~FastSaxParser(); // XFastParser - virtual void SAL_CALL parseStream( const ::com::sun::star::xml::sax::InputSource& aInputSource ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL parseStream( const ::com::sun::star::xml::sax::InputSource& aInputSource ) throw (::com::sun::star::xml::sax::SAXException, ::com::sun::star::io::IOException, ::com::sun::star::uno::RuntimeException, std::exception); virtual void SAL_CALL setFastDocumentHandler( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastDocumentHandler >& Handler ) throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setTokenHandler( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastTokenHandler >& Handler ) throw (::com::sun::star::uno::RuntimeException); virtual void SAL_CALL registerNamespace( const OUString& NamespaceURL, sal_Int32 NamespaceToken ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException); diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx index 0361ba856000..067b13a60e07 100644 --- a/sax/source/fastparser/fastparser.cxx +++ b/sax/source/fastparser/fastparser.cxx @@ -1357,7 +1357,8 @@ FastSaxParser::~FastSaxParser() } void FastSaxParser::parseStream( const xml::sax::InputSource& aInputSource ) - throw (xml::sax::SAXException, io::IOException, uno::RuntimeException) + throw (xml::sax::SAXException, io::IOException, + uno::RuntimeException, std::exception) { mpImpl->parseStream(aInputSource); } |