summaryrefslogtreecommitdiff
path: root/unoxml/qa/unit/domtest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/qa/unit/domtest.cxx')
-rw-r--r--unoxml/qa/unit/domtest.cxx30
1 files changed, 15 insertions, 15 deletions
diff --git a/unoxml/qa/unit/domtest.cxx b/unoxml/qa/unit/domtest.cxx
index bc7ff57c2234..ce7b88393d6c 100644
--- a/unoxml/qa/unit/domtest.cxx
+++ b/unoxml/qa/unit/domtest.cxx
@@ -100,17 +100,17 @@ struct ErrorHandler
ErrorHandler() : mnErrCount(0), mnFatalCount(0), mnWarnCount(0)
{}
- virtual void SAL_CALL error( const uno::Any& ) throw (xml::sax::SAXException, uno::RuntimeException) override
+ virtual void SAL_CALL error( const uno::Any& ) override
{
++mnErrCount;
}
- virtual void SAL_CALL fatalError( const uno::Any& ) throw (xml::sax::SAXException, uno::RuntimeException) override
+ virtual void SAL_CALL fatalError( const uno::Any& ) override
{
++mnFatalCount;
}
- virtual void SAL_CALL warning( const uno::Any& ) throw (xml::sax::SAXException, uno::RuntimeException) override
+ virtual void SAL_CALL warning( const uno::Any& ) override
{
++mnWarnCount;
}
@@ -120,7 +120,7 @@ struct DocumentHandler
: public ::cppu::WeakImplHelper< xml::sax::XFastDocumentHandler >
{
// XFastContextHandler
- virtual void SAL_CALL startFastElement( ::sal_Int32 Element, const uno::Reference< xml::sax::XFastAttributeList >& ) throw (xml::sax::SAXException, uno::RuntimeException) override
+ virtual void SAL_CALL startFastElement( ::sal_Int32 Element, const uno::Reference< xml::sax::XFastAttributeList >& ) override
{
SAL_INFO(
"unoxml",
@@ -128,42 +128,42 @@ struct DocumentHandler
<< (Element & 0xFFFF0000));
}
- virtual void SAL_CALL startUnknownElement( const OUString& , const OUString& , const uno::Reference< xml::sax::XFastAttributeList >& ) throw (xml::sax::SAXException, uno::RuntimeException) override
+ virtual void SAL_CALL startUnknownElement( const OUString& , const OUString& , const uno::Reference< xml::sax::XFastAttributeList >& ) override
{
}
- virtual void SAL_CALL endFastElement( ::sal_Int32 ) throw (xml::sax::SAXException, uno::RuntimeException) override
+ virtual void SAL_CALL endFastElement( ::sal_Int32 ) override
{
}
- virtual void SAL_CALL endUnknownElement( const OUString&, const OUString& ) throw (xml::sax::SAXException, uno::RuntimeException) override
+ virtual void SAL_CALL endUnknownElement( const OUString&, const OUString& ) override
{
}
- virtual uno::Reference< xml::sax::XFastContextHandler > SAL_CALL createFastChildContext( ::sal_Int32 , const uno::Reference< xml::sax::XFastAttributeList >& ) throw (xml::sax::SAXException, uno::RuntimeException) override
+ virtual uno::Reference< xml::sax::XFastContextHandler > SAL_CALL createFastChildContext( ::sal_Int32 , const uno::Reference< xml::sax::XFastAttributeList >& ) override
{
return this;
}
- virtual uno::Reference< xml::sax::XFastContextHandler > SAL_CALL createUnknownChildContext( const OUString& , const OUString& , const uno::Reference< xml::sax::XFastAttributeList >& ) throw (xml::sax::SAXException, uno::RuntimeException) override
+ virtual uno::Reference< xml::sax::XFastContextHandler > SAL_CALL createUnknownChildContext( const OUString& , const OUString& , const uno::Reference< xml::sax::XFastAttributeList >& ) override
{
return this;
}
- virtual void SAL_CALL characters( const OUString& ) throw (xml::sax::SAXException, uno::RuntimeException) override
+ virtual void SAL_CALL characters( const OUString& ) override
{
}
// XFastDocumentHandler
- virtual void SAL_CALL startDocument( ) throw (xml::sax::SAXException, uno::RuntimeException) override
+ virtual void SAL_CALL startDocument( ) override
{
}
- virtual void SAL_CALL endDocument( ) throw (xml::sax::SAXException, uno::RuntimeException) override
+ virtual void SAL_CALL endDocument( ) override
{
}
- virtual void SAL_CALL setDocumentLocator( const uno::Reference< xml::sax::XLocator >& ) throw (xml::sax::SAXException, uno::RuntimeException) override
+ virtual void SAL_CALL setDocumentLocator( const uno::Reference< xml::sax::XLocator >& ) override
{
}
};
@@ -171,12 +171,12 @@ struct DocumentHandler
struct TokenHandler
: public ::cppu::WeakImplHelper< xml::sax::XFastTokenHandler >
{
- virtual ::sal_Int32 SAL_CALL getTokenFromUTF8( const uno::Sequence< ::sal_Int8 >& Identifier ) throw (uno::RuntimeException) override
+ virtual ::sal_Int32 SAL_CALL getTokenFromUTF8( const uno::Sequence< ::sal_Int8 >& Identifier ) override
{
return Identifier.getLength() ? Identifier[0] : 0;
}
- virtual uno::Sequence< ::sal_Int8 > SAL_CALL getUTF8Identifier( ::sal_Int32 ) throw (uno::RuntimeException, std::exception) override
+ virtual uno::Sequence< ::sal_Int8 > SAL_CALL getUTF8Identifier( ::sal_Int32 ) override
{
CPPUNIT_ASSERT_MESSAGE( "TokenHandler::getUTF8Identifier() unexpected call",
false );