diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-24 21:03:48 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-25 12:28:07 +0000 |
commit | 7106e437bc3eec7a601624d5628c3b5e96a01814 (patch) | |
tree | be8af5106f9d64d8be507a05b9769153546d316f /sax | |
parent | 8674cf050da1042ad123972a7a50503a3a168bd9 (diff) |
1158273 Uncaught exception
Change-Id: I3983da2d585762d81446902a710e9a97c6354669
Diffstat (limited to 'sax')
-rw-r--r-- | sax/source/fastparser/fastparser.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx index ff384f012e01..0361ba856000 100644 --- a/sax/source/fastparser/fastparser.cxx +++ b/sax/source/fastparser/fastparser.cxx @@ -203,7 +203,7 @@ public: ~FastSaxParserImpl(); // XFastParser - void 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); + void 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); void setFastDocumentHandler( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastDocumentHandler >& Handler ) throw (::com::sun::star::uno::RuntimeException); void setTokenHandler( const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XFastTokenHandler >& Handler ) throw (::com::sun::star::uno::RuntimeException); void registerNamespace( const OUString& NamespaceURL, sal_Int32 NamespaceToken ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException); @@ -795,7 +795,8 @@ void FastSaxParserImpl::splitName( const XML_Char *pwName, const XML_Char *&rpPr * the file-specific initialization work. (During a parser run, external files may be opened) * ****************/ -void FastSaxParserImpl::parseStream( const InputSource& maStructSource) throw (SAXException, IOException, RuntimeException) +void FastSaxParserImpl::parseStream(const InputSource& maStructSource) + throw (SAXException, IOException, RuntimeException, std::exception) { // Only one text at one time MutexGuard guard( maMutex ); |