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 /framework/source/fwe/xml/saxnamespacefilter.cxx | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'framework/source/fwe/xml/saxnamespacefilter.cxx')
-rw-r--r-- | framework/source/fwe/xml/saxnamespacefilter.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/framework/source/fwe/xml/saxnamespacefilter.cxx b/framework/source/fwe/xml/saxnamespacefilter.cxx index bf97c5066447..4cc22c5089c1 100644 --- a/framework/source/fwe/xml/saxnamespacefilter.cxx +++ b/framework/source/fwe/xml/saxnamespacefilter.cxx @@ -53,18 +53,18 @@ SaxNamespaceFilter::~SaxNamespaceFilter() // XDocumentHandler void SAL_CALL SaxNamespaceFilter::startDocument(void) - throw ( SAXException, RuntimeException ) + throw ( SAXException, RuntimeException, std::exception ) { } void SAL_CALL SaxNamespaceFilter::endDocument(void) - throw( SAXException, RuntimeException ) + throw( SAXException, RuntimeException, std::exception ) { } void SAL_CALL SaxNamespaceFilter::startElement( const OUString& rName, const Reference< XAttributeList > &xAttribs ) - throw( SAXException, RuntimeException ) + throw( SAXException, RuntimeException, std::exception ) { XMLNamespaces aXMLNamespaces; if ( !m_aNamespaceStack.empty() ) @@ -123,7 +123,7 @@ void SAL_CALL SaxNamespaceFilter::startElement( } void SAL_CALL SaxNamespaceFilter::endElement(const OUString& aName) - throw( SAXException, RuntimeException ) + throw( SAXException, RuntimeException, std::exception ) { XMLNamespaces& aXMLNamespaces = m_aNamespaceStack.top(); OUString aNamespaceElementName; @@ -143,27 +143,27 @@ void SAL_CALL SaxNamespaceFilter::endElement(const OUString& aName) } void SAL_CALL SaxNamespaceFilter::characters(const OUString& aChars) - throw( SAXException, RuntimeException ) + throw( SAXException, RuntimeException, std::exception ) { xDocumentHandler->characters( aChars ); } void SAL_CALL SaxNamespaceFilter::ignorableWhitespace(const OUString& aWhitespaces) - throw( SAXException, RuntimeException ) + throw( SAXException, RuntimeException, std::exception ) { xDocumentHandler->ignorableWhitespace( aWhitespaces ); } void SAL_CALL SaxNamespaceFilter::processingInstruction( const OUString& aTarget, const OUString& aData) - throw( SAXException, RuntimeException ) + throw( SAXException, RuntimeException, std::exception ) { xDocumentHandler->processingInstruction( aTarget, aData ); } void SAL_CALL SaxNamespaceFilter::setDocumentLocator( const Reference< XLocator > &xLocator) - throw( SAXException, RuntimeException ) + throw( SAXException, RuntimeException, std::exception ) { m_xLocator = xLocator; xDocumentHandler->setDocumentLocator( xLocator ); |