summaryrefslogtreecommitdiff
path: root/xmlsecurity/source/helper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-26 12:28:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-26 12:54:43 +0000
commite57ca02849c3d87142ff5ff9099a212e72b8139c (patch)
treebcce66b27261553c308779f3e8663a269ed3a671 /xmlsecurity/source/helper
parent8802ebd5172ec4bc412a59d136c82b77ab452281 (diff)
Remove dynamic exception specifications
...(for now, from LIBO_INTERNAL_CODE only). See the mail thread starting at <https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html> "Dynamic Exception Specifications" for details. Most changes have been done automatically by the rewriting loplugin:dynexcspec (after enabling the rewriting mode, to be committed shortly). The way it only removes exception specs from declarations if it also sees a definition, it identified some dead declarations-w/o-definitions (that have been removed manually) and some cases where a definition appeared in multiple include files (which have also been cleaned up manually). There's also been cases of macro paramters (that were used to abstract over exception specs) that have become unused now (and been removed). Furthermore, some code needed to be cleaned up manually (avmedia/source/quicktime/ and connectivity/source/drivers/kab/), as I had no configurations available that would actually build that code. Missing @throws documentation has not been applied in such manual clean-up. Change-Id: I3408691256c9b0c12bc5332de976743626e13960 Reviewed-on: https://gerrit.libreoffice.org/33574 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'xmlsecurity/source/helper')
-rw-r--r--xmlsecurity/source/helper/ooxmlsecparser.cxx17
-rw-r--r--xmlsecurity/source/helper/ooxmlsecparser.hxx20
-rw-r--r--xmlsecurity/source/helper/xmlsignaturehelper2.cxx12
-rw-r--r--xmlsecurity/source/helper/xmlsignaturehelper2.hxx36
-rw-r--r--xmlsecurity/source/helper/xsecctl.cxx5
-rw-r--r--xmlsecurity/source/helper/xsecparser.cxx9
-rw-r--r--xmlsecurity/source/helper/xsecparser.hxx27
7 files changed, 38 insertions, 88 deletions
diff --git a/xmlsecurity/source/helper/ooxmlsecparser.cxx b/xmlsecurity/source/helper/ooxmlsecparser.cxx
index 8535c8279c49..aff5c1d302c5 100644
--- a/xmlsecurity/source/helper/ooxmlsecparser.cxx
+++ b/xmlsecurity/source/helper/ooxmlsecparser.cxx
@@ -30,20 +30,19 @@ OOXMLSecParser::~OOXMLSecParser()
{
}
-void SAL_CALL OOXMLSecParser::startDocument() throw (xml::sax::SAXException, uno::RuntimeException, std::exception)
+void SAL_CALL OOXMLSecParser::startDocument()
{
if (m_xNextHandler.is())
m_xNextHandler->startDocument();
}
-void SAL_CALL OOXMLSecParser::endDocument() throw (xml::sax::SAXException, uno::RuntimeException, std::exception)
+void SAL_CALL OOXMLSecParser::endDocument()
{
if (m_xNextHandler.is())
m_xNextHandler->endDocument();
}
void SAL_CALL OOXMLSecParser::startElement(const OUString& rName, const uno::Reference<xml::sax::XAttributeList>& xAttribs)
-throw (xml::sax::SAXException, uno::RuntimeException, std::exception)
{
OUString aId = xAttribs->getValueByName("Id");
if (!aId.isEmpty())
@@ -123,7 +122,7 @@ throw (xml::sax::SAXException, uno::RuntimeException, std::exception)
m_xNextHandler->startElement(rName, xAttribs);
}
-void SAL_CALL OOXMLSecParser::endElement(const OUString& rName) throw (xml::sax::SAXException, uno::RuntimeException, std::exception)
+void SAL_CALL OOXMLSecParser::endElement(const OUString& rName)
{
if (rName == "SignedInfo")
m_pXSecController->setReferenceCount();
@@ -179,7 +178,7 @@ void SAL_CALL OOXMLSecParser::endElement(const OUString& rName) throw (xml::sax:
m_xNextHandler->endElement(rName);
}
-void SAL_CALL OOXMLSecParser::characters(const OUString& rChars) throw (xml::sax::SAXException, uno::RuntimeException, std::exception)
+void SAL_CALL OOXMLSecParser::characters(const OUString& rChars)
{
if (m_bInDigestValue && !m_bInCertDigest)
m_aDigestValue += rChars;
@@ -202,25 +201,25 @@ void SAL_CALL OOXMLSecParser::characters(const OUString& rChars) throw (xml::sax
m_xNextHandler->characters(rChars);
}
-void SAL_CALL OOXMLSecParser::ignorableWhitespace(const OUString& rWhitespace) throw (xml::sax::SAXException, uno::RuntimeException, std::exception)
+void SAL_CALL OOXMLSecParser::ignorableWhitespace(const OUString& rWhitespace)
{
if (m_xNextHandler.is())
m_xNextHandler->ignorableWhitespace(rWhitespace);
}
-void SAL_CALL OOXMLSecParser::processingInstruction(const OUString& rTarget, const OUString& rData) throw (xml::sax::SAXException, uno::RuntimeException, std::exception)
+void SAL_CALL OOXMLSecParser::processingInstruction(const OUString& rTarget, const OUString& rData)
{
if (m_xNextHandler.is())
m_xNextHandler->processingInstruction(rTarget, rData);
}
-void SAL_CALL OOXMLSecParser::setDocumentLocator(const uno::Reference<xml::sax::XLocator>& xLocator) throw (xml::sax::SAXException, uno::RuntimeException, std::exception)
+void SAL_CALL OOXMLSecParser::setDocumentLocator(const uno::Reference<xml::sax::XLocator>& xLocator)
{
if (m_xNextHandler.is())
m_xNextHandler->setDocumentLocator(xLocator);
}
-void SAL_CALL OOXMLSecParser::initialize(const uno::Sequence<uno::Any>& rArguments) throw (uno::Exception, uno::RuntimeException, std::exception)
+void SAL_CALL OOXMLSecParser::initialize(const uno::Sequence<uno::Any>& rArguments)
{
rArguments[0] >>= m_xNextHandler;
}
diff --git a/xmlsecurity/source/helper/ooxmlsecparser.hxx b/xmlsecurity/source/helper/ooxmlsecparser.hxx
index a78c3e369c24..068ffb22a930 100644
--- a/xmlsecurity/source/helper/ooxmlsecparser.hxx
+++ b/xmlsecurity/source/helper/ooxmlsecparser.hxx
@@ -56,26 +56,24 @@ public:
virtual ~OOXMLSecParser() override;
// XDocumentHandler
- virtual void SAL_CALL startDocument() throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL startDocument() override;
- virtual void SAL_CALL endDocument() throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL endDocument() override;
- virtual void SAL_CALL startElement(const OUString& aName, const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs)
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL startElement(const OUString& aName, const css::uno::Reference<css::xml::sax::XAttributeList>& xAttribs) override;
- virtual void SAL_CALL endElement(const OUString& aName) throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL endElement(const OUString& aName) override;
- virtual void SAL_CALL characters(const OUString& aChars) throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL characters(const OUString& aChars) override;
- virtual void SAL_CALL ignorableWhitespace(const OUString& aWhitespaces) throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL ignorableWhitespace(const OUString& aWhitespaces) override;
- virtual void SAL_CALL processingInstruction(const OUString& aTarget, const OUString& aData) throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL processingInstruction(const OUString& aTarget, const OUString& aData) override;
- virtual void SAL_CALL setDocumentLocator(const css::uno::Reference<css::xml::sax::XLocator>& xLocator)
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setDocumentLocator(const css::uno::Reference<css::xml::sax::XLocator>& xLocator) override;
// XInitialization
- virtual void SAL_CALL initialize(const css::uno::Sequence<css::uno::Any>& rArguments) throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL initialize(const css::uno::Sequence<css::uno::Any>& rArguments) override;
};
#endif
diff --git a/xmlsecurity/source/helper/xmlsignaturehelper2.cxx b/xmlsecurity/source/helper/xmlsignaturehelper2.cxx
index 772b7cd56a5b..926f445fbd16 100644
--- a/xmlsecurity/source/helper/xmlsignaturehelper2.cxx
+++ b/xmlsecurity/source/helper/xmlsignaturehelper2.cxx
@@ -52,14 +52,12 @@ void ImplXMLSignatureListener::setNextHandler(
}
void SAL_CALL ImplXMLSignatureListener::signatureCreated( sal_Int32 securityId, css::xml::crypto::SecurityOperationStatus nResult )
- throw (css::uno::RuntimeException, std::exception)
{
XMLSignatureCreationResult aResult( securityId, nResult );
maCreationResultListenerListener.Call( aResult );
}
void SAL_CALL ImplXMLSignatureListener::signatureVerified( sal_Int32 securityId, css::xml::crypto::SecurityOperationStatus nResult )
- throw (css::uno::RuntimeException, std::exception)
{
XMLSignatureVerifyResult aResult( securityId, nResult );
maVerifyResultListenerListener.Call( aResult );
@@ -67,7 +65,6 @@ void SAL_CALL ImplXMLSignatureListener::signatureVerified( sal_Int32 securityId,
// XDocumentHandler
void SAL_CALL ImplXMLSignatureListener::startDocument( )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception)
{
if (m_xNextHandler.is())
{
@@ -76,7 +73,6 @@ void SAL_CALL ImplXMLSignatureListener::startDocument( )
}
void SAL_CALL ImplXMLSignatureListener::endDocument( )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception)
{
if (m_xNextHandler.is())
{
@@ -85,7 +81,6 @@ void SAL_CALL ImplXMLSignatureListener::endDocument( )
}
void SAL_CALL ImplXMLSignatureListener::startElement( const OUString& aName, const css::uno::Reference< css::xml::sax::XAttributeList >& xAttribs )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception)
{
if ( aName == "Signature" )
{
@@ -99,7 +94,6 @@ void SAL_CALL ImplXMLSignatureListener::startElement( const OUString& aName, con
}
void SAL_CALL ImplXMLSignatureListener::endElement( const OUString& aName )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception)
{
if (m_xNextHandler.is())
{
@@ -108,7 +102,6 @@ void SAL_CALL ImplXMLSignatureListener::endElement( const OUString& aName )
}
void SAL_CALL ImplXMLSignatureListener::characters( const OUString& aChars )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception)
{
if (m_xNextHandler.is())
{
@@ -117,7 +110,6 @@ void SAL_CALL ImplXMLSignatureListener::characters( const OUString& aChars )
}
void SAL_CALL ImplXMLSignatureListener::ignorableWhitespace( const OUString& aWhitespaces )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception)
{
if (m_xNextHandler.is())
{
@@ -126,7 +118,6 @@ void SAL_CALL ImplXMLSignatureListener::ignorableWhitespace( const OUString& aWh
}
void SAL_CALL ImplXMLSignatureListener::processingInstruction( const OUString& aTarget, const OUString& aData )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception)
{
if (m_xNextHandler.is())
{
@@ -135,7 +126,6 @@ void SAL_CALL ImplXMLSignatureListener::processingInstruction( const OUString& a
}
void SAL_CALL ImplXMLSignatureListener::setDocumentLocator( const css::uno::Reference< css::xml::sax::XLocator >& xLocator )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception)
{
if (m_xNextHandler.is())
{
@@ -155,12 +145,10 @@ UriBindingHelper::UriBindingHelper( const css::uno::Reference < css::embed::XSto
}
void SAL_CALL UriBindingHelper::setUriBinding( const OUString& /*uri*/, const uno::Reference< io::XInputStream >&)
- throw (uno::Exception, uno::RuntimeException, std::exception)
{
}
uno::Reference< io::XInputStream > SAL_CALL UriBindingHelper::getUriBinding( const OUString& uri )
- throw (uno::Exception, uno::RuntimeException, std::exception)
{
uno::Reference< io::XInputStream > xInputStream;
if ( mxStorage.is() )
diff --git a/xmlsecurity/source/helper/xmlsignaturehelper2.hxx b/xmlsecurity/source/helper/xmlsignaturehelper2.hxx
index 7c76a9a86ffa..6518aa96d610 100644
--- a/xmlsecurity/source/helper/xmlsignaturehelper2.hxx
+++ b/xmlsecurity/source/helper/xmlsignaturehelper2.hxx
@@ -68,37 +68,27 @@ public:
void setNextHandler(const css::uno::Reference< css::xml::sax::XDocumentHandler >& xNextHandler);
// css::xml::crypto::sax::XSignatureCreationResultListener
- virtual void SAL_CALL signatureCreated( sal_Int32 securityId, css::xml::crypto::SecurityOperationStatus creationResult )
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL signatureCreated( sal_Int32 securityId, css::xml::crypto::SecurityOperationStatus creationResult ) override;
// css::xml::crypto::sax::XSignatureVerifyResultListener
- virtual void SAL_CALL signatureVerified( sal_Int32 securityId, css::xml::crypto::SecurityOperationStatus verifyResult )
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL signatureVerified( sal_Int32 securityId, css::xml::crypto::SecurityOperationStatus verifyResult ) override;
// css::xml::sax::XDocumentHandler
- virtual void SAL_CALL startElement( const OUString& aName, const css::uno::Reference< css::xml::sax::XAttributeList >& xAttribs )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL startElement( const OUString& aName, const css::uno::Reference< css::xml::sax::XAttributeList >& xAttribs ) override;
- virtual void SAL_CALL startDocument( )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL startDocument( ) override;
- virtual void SAL_CALL endDocument( )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL endDocument( ) override;
- virtual void SAL_CALL endElement( const OUString& aName )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL endElement( const OUString& aName ) override;
- virtual void SAL_CALL characters( const OUString& aChars )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL characters( const OUString& aChars ) override;
- virtual void SAL_CALL ignorableWhitespace( const OUString& aWhitespaces )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL ignorableWhitespace( const OUString& aWhitespaces ) override;
- virtual void SAL_CALL processingInstruction( const OUString& aTarget, const OUString& aData )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL processingInstruction( const OUString& aTarget, const OUString& aData ) override;
- virtual void SAL_CALL setDocumentLocator( const css::uno::Reference< css::xml::sax::XLocator >& xLocator )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL setDocumentLocator( const css::uno::Reference< css::xml::sax::XLocator >& xLocator ) override;
};
// XUriBinding
@@ -112,11 +102,9 @@ public:
UriBindingHelper();
explicit UriBindingHelper( const css::uno::Reference < css::embed::XStorage >& rxStorage );
- void SAL_CALL setUriBinding( const OUString& uri, const css::uno::Reference< css::io::XInputStream >& aInputStream )
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override;
+ void SAL_CALL setUriBinding( const OUString& uri, const css::uno::Reference< css::io::XInputStream >& aInputStream ) override;
- css::uno::Reference< css::io::XInputStream > SAL_CALL getUriBinding( const OUString& uri )
- throw (css::uno::Exception, css::uno::RuntimeException, std::exception) override;
+ css::uno::Reference< css::io::XInputStream > SAL_CALL getUriBinding( const OUString& uri ) override;
static css::uno::Reference < css::io::XInputStream > OpenInputStream( const css::uno::Reference < css::embed::XStorage >& rxStore, const OUString& rURI );
};
diff --git a/xmlsecurity/source/helper/xsecctl.cxx b/xmlsecurity/source/helper/xsecctl.cxx
index e27101b4cdf8..ff2e47219216 100644
--- a/xmlsecurity/source/helper/xsecctl.cxx
+++ b/xmlsecurity/source/helper/xsecctl.cxx
@@ -911,7 +911,6 @@ SignatureInformations XSecController::getSignatureInformations() const
*/
void SAL_CALL XSecController::blockingStatusChanged( sal_Bool isBlocking )
- throw (cssu::RuntimeException, std::exception)
{
this->m_bIsBlocking = isBlocking;
checkChainingStatus();
@@ -919,14 +918,12 @@ void SAL_CALL XSecController::blockingStatusChanged( sal_Bool isBlocking )
void SAL_CALL XSecController::collectionStatusChanged(
sal_Bool isInsideCollectedElement )
- throw (cssu::RuntimeException, std::exception)
{
this->m_bIsCollectingElement = isInsideCollectedElement;
checkChainingStatus();
}
void SAL_CALL XSecController::bufferStatusChanged( sal_Bool /*isBufferEmpty*/)
- throw (cssu::RuntimeException, std::exception)
{
}
@@ -935,7 +932,6 @@ void SAL_CALL XSecController::bufferStatusChanged( sal_Bool /*isBufferEmpty*/)
* XSignatureCreationResultListener
*/
void SAL_CALL XSecController::signatureCreated( sal_Int32 securityId, css::xml::crypto::SecurityOperationStatus nResult )
- throw (css::uno::RuntimeException, std::exception)
{
int index = findSignatureInfor(securityId);
assert(index != -1 && "Signature Not Found!");
@@ -947,7 +943,6 @@ void SAL_CALL XSecController::signatureCreated( sal_Int32 securityId, css::xml::
* XSignatureVerifyResultListener
*/
void SAL_CALL XSecController::signatureVerified( sal_Int32 securityId, css::xml::crypto::SecurityOperationStatus nResult )
- throw (css::uno::RuntimeException, std::exception)
{
int index = findSignatureInfor(securityId);
assert(index != -1 && "Signature Not Found!");
diff --git a/xmlsecurity/source/helper/xsecparser.cxx b/xmlsecurity/source/helper/xsecparser.cxx
index d4c9f9dcfe0d..210db2d113cc 100644
--- a/xmlsecurity/source/helper/xsecparser.cxx
+++ b/xmlsecurity/source/helper/xsecparser.cxx
@@ -62,7 +62,6 @@ OUString XSecParser::getIdAttr(const cssu::Reference< cssxs::XAttributeList >& x
* XDocumentHandler
*/
void SAL_CALL XSecParser::startDocument( )
- throw (cssxs::SAXException, cssu::RuntimeException, std::exception)
{
m_bInX509IssuerName = false;
m_bInX509SerialNumber = false;
@@ -79,7 +78,6 @@ void SAL_CALL XSecParser::startDocument( )
}
void SAL_CALL XSecParser::endDocument( )
- throw (cssxs::SAXException, cssu::RuntimeException, std::exception)
{
if (m_xNextHandler.is())
{
@@ -90,7 +88,6 @@ void SAL_CALL XSecParser::endDocument( )
void SAL_CALL XSecParser::startElement(
const OUString& aName,
const cssu::Reference< cssxs::XAttributeList >& xAttribs )
- throw (cssxs::SAXException, cssu::RuntimeException, std::exception)
{
try
{
@@ -243,7 +240,6 @@ void SAL_CALL XSecParser::startElement(
}
void SAL_CALL XSecParser::endElement( const OUString& aName )
- throw (cssxs::SAXException, cssu::RuntimeException, std::exception)
{
try
{
@@ -338,7 +334,6 @@ void SAL_CALL XSecParser::endElement( const OUString& aName )
}
void SAL_CALL XSecParser::characters( const OUString& aChars )
- throw (cssxs::SAXException, cssu::RuntimeException, std::exception)
{
if (m_bInX509IssuerName)
{
@@ -388,7 +383,6 @@ void SAL_CALL XSecParser::characters( const OUString& aChars )
}
void SAL_CALL XSecParser::ignorableWhitespace( const OUString& aWhitespaces )
- throw (cssxs::SAXException, cssu::RuntimeException, std::exception)
{
if (m_xNextHandler.is())
{
@@ -397,7 +391,6 @@ void SAL_CALL XSecParser::ignorableWhitespace( const OUString& aWhitespaces )
}
void SAL_CALL XSecParser::processingInstruction( const OUString& aTarget, const OUString& aData )
- throw (cssxs::SAXException, cssu::RuntimeException, std::exception)
{
if (m_xNextHandler.is())
{
@@ -406,7 +399,6 @@ void SAL_CALL XSecParser::processingInstruction( const OUString& aTarget, const
}
void SAL_CALL XSecParser::setDocumentLocator( const cssu::Reference< cssxs::XLocator >& xLocator )
- throw (cssxs::SAXException, cssu::RuntimeException, std::exception)
{
if (m_xNextHandler.is())
{
@@ -419,7 +411,6 @@ void SAL_CALL XSecParser::setDocumentLocator( const cssu::Reference< cssxs::XLoc
*/
void SAL_CALL XSecParser::initialize(
const cssu::Sequence< cssu::Any >& aArguments )
- throw(cssu::Exception, cssu::RuntimeException, std::exception)
{
aArguments[0] >>= m_xNextHandler;
}
diff --git a/xmlsecurity/source/helper/xsecparser.hxx b/xmlsecurity/source/helper/xsecparser.hxx
index c9463cc485dc..098e41ee3034 100644
--- a/xmlsecurity/source/helper/xsecparser.hxx
+++ b/xmlsecurity/source/helper/xsecparser.hxx
@@ -117,43 +117,34 @@ public:
/*
* XDocumentHandler
*/
- virtual void SAL_CALL startDocument( )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL startDocument( ) override;
- virtual void SAL_CALL endDocument( )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL endDocument( ) override;
virtual void SAL_CALL startElement(
const OUString& aName,
const css::uno::Reference<
- css::xml::sax::XAttributeList >& xAttribs )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ css::xml::sax::XAttributeList >& xAttribs ) override;
- virtual void SAL_CALL endElement( const OUString& aName )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL endElement( const OUString& aName ) override;
- virtual void SAL_CALL characters( const OUString& aChars )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL characters( const OUString& aChars ) override;
- virtual void SAL_CALL ignorableWhitespace( const OUString& aWhitespaces )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ virtual void SAL_CALL ignorableWhitespace( const OUString& aWhitespaces ) override;
virtual void SAL_CALL processingInstruction(
const OUString& aTarget,
- const OUString& aData )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ const OUString& aData ) override;
virtual void SAL_CALL setDocumentLocator(
const css::uno::Reference<
- css::xml::sax::XLocator >& xLocator )
- throw (css::xml::sax::SAXException, css::uno::RuntimeException, std::exception) override;
+ css::xml::sax::XLocator >& xLocator ) override;
/*
* XInitialization
*/
virtual void SAL_CALL initialize(
- const css::uno::Sequence< css::uno::Any >& aArguments )
- throw(css::uno::Exception, css::uno::RuntimeException, std::exception) override;
+ const css::uno::Sequence< css::uno::Any >& aArguments ) override;
};
#endif