diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-25 21:31:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-26 18:22:20 +0100 |
commit | 5e21a413c788f839a66d9e4c14e745ed18058db8 (patch) | |
tree | d4451246461346a425ad6f796e08bf1514cdd942 /unoxml/source/dom/documentbuilder.cxx | |
parent | Fixup whitespace changes, remove commented code. (diff) | |
download | core-5e21a413c788f839a66d9e4c14e745ed18058db8.tar.gz core-5e21a413c788f839a66d9e4c14e745ed18058db8.zip |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'unoxml/source/dom/documentbuilder.cxx')
-rw-r--r-- | unoxml/source/dom/documentbuilder.cxx | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/unoxml/source/dom/documentbuilder.cxx b/unoxml/source/dom/documentbuilder.cxx index eef5e387252c..d99836f649d8 100644 --- a/unoxml/source/dom/documentbuilder.cxx +++ b/unoxml/source/dom/documentbuilder.cxx @@ -59,7 +59,7 @@ namespace DOM { public: virtual InputSource SAL_CALL resolveEntity( const OUString& sPublicId, const OUString& sSystemId ) - throw (::com::sun::star::uno::RuntimeException) + throw (::com::sun::star::uno::RuntimeException, std::exception) { InputSource is; is.sPublicId = sPublicId; @@ -119,44 +119,44 @@ namespace DOM } Sequence< OUString > SAL_CALL CDocumentBuilder::getSupportedServiceNames() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return CDocumentBuilder::_getSupportedServiceNames(); } OUString SAL_CALL CDocumentBuilder::getImplementationName() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return CDocumentBuilder::_getImplementationName(); } sal_Bool SAL_CALL CDocumentBuilder::supportsService(const OUString& aServiceName) - throw (RuntimeException) + throw (RuntimeException, std::exception) { return cppu::supportsService(this, aServiceName); } Reference< XDOMImplementation > SAL_CALL CDocumentBuilder::getDOMImplementation() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return Reference< XDOMImplementation >(); } sal_Bool SAL_CALL CDocumentBuilder::isNamespaceAware() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return sal_True; } sal_Bool SAL_CALL CDocumentBuilder::isValidating() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return sal_False; } Reference< XDocument > SAL_CALL CDocumentBuilder::newDocument() - throw (RuntimeException) + throw (RuntimeException, std::exception) { ::osl::MutexGuard const g(m_Mutex); @@ -305,7 +305,7 @@ namespace DOM } Reference< XDocument > SAL_CALL CDocumentBuilder::parse(const Reference< XInputStream >& is) - throw (RuntimeException, SAXParseException, IOException) + throw (RuntimeException, SAXParseException, IOException, std::exception) { if (!is.is()) { throw RuntimeException(); @@ -348,7 +348,7 @@ namespace DOM } Reference< XDocument > SAL_CALL CDocumentBuilder::parseURI(const OUString& sUri) - throw (RuntimeException, SAXParseException, IOException) + throw (RuntimeException, SAXParseException, IOException, std::exception) { ::osl::MutexGuard const g(m_Mutex); @@ -372,7 +372,7 @@ namespace DOM void SAL_CALL CDocumentBuilder::setEntityResolver(Reference< XEntityResolver > const& xER) - throw (RuntimeException) + throw (RuntimeException, std::exception) { ::osl::MutexGuard const g(m_Mutex); @@ -389,7 +389,7 @@ namespace DOM void SAL_CALL CDocumentBuilder::setErrorHandler(Reference< XErrorHandler > const& xEH) - throw (RuntimeException) + throw (RuntimeException, std::exception) { ::osl::MutexGuard const g(m_Mutex); |