summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/notation.hxx
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 /unoxml/source/dom/notation.hxx
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 'unoxml/source/dom/notation.hxx')
-rw-r--r--unoxml/source/dom/notation.hxx79
1 files changed, 27 insertions, 52 deletions
diff --git a/unoxml/source/dom/notation.hxx b/unoxml/source/dom/notation.hxx
index 434b1b8d486c..099905acf3ac 100644
--- a/unoxml/source/dom/notation.hxx
+++ b/unoxml/source/dom/notation.hxx
@@ -45,134 +45,109 @@ namespace DOM
/**
The public identifier of this notation.
*/
- virtual OUString SAL_CALL getPublicId() throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getPublicId() override;
/**
The system identifier of this notation.
*/
- virtual OUString SAL_CALL getSystemId() throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getSystemId() override;
// ---- resolve uno inheritance problems...
// overrides for XNode base
- virtual OUString SAL_CALL getNodeName()
- throw (css::uno::RuntimeException, std::exception) override;
- virtual OUString SAL_CALL getNodeValue()
- throw (css::uno::RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getNodeName() override;
+ virtual OUString SAL_CALL getNodeValue() override;
// --- delegation for XNode base.
- virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL appendChild(const css::uno::Reference< css::xml::dom::XNode >& newChild)
- throw (css::uno::RuntimeException, css::xml::dom::DOMException, std::exception) override
+ virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL appendChild(const css::uno::Reference< css::xml::dom::XNode >& newChild) override
{
return CNode::appendChild(newChild);
}
- virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL cloneNode(sal_Bool deep)
- throw (css::uno::RuntimeException, std::exception) override
+ virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL cloneNode(sal_Bool deep) override
{
return CNode::cloneNode(deep);
}
- virtual css::uno::Reference< css::xml::dom::XNamedNodeMap > SAL_CALL getAttributes()
- throw (css::uno::RuntimeException, std::exception) override
+ virtual css::uno::Reference< css::xml::dom::XNamedNodeMap > SAL_CALL getAttributes() override
{
return CNode::getAttributes();
}
- virtual css::uno::Reference< css::xml::dom::XNodeList > SAL_CALL getChildNodes()
- throw (css::uno::RuntimeException, std::exception) override
+ virtual css::uno::Reference< css::xml::dom::XNodeList > SAL_CALL getChildNodes() override
{
return CNode::getChildNodes();
}
- virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL getFirstChild()
- throw (css::uno::RuntimeException, std::exception) override
+ virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL getFirstChild() override
{
return CNode::getFirstChild();
}
- virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL getLastChild()
- throw (css::uno::RuntimeException, std::exception) override
+ virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL getLastChild() override
{
return CNode::getLastChild();
}
- virtual OUString SAL_CALL getLocalName()
- throw (css::uno::RuntimeException, std::exception) override
+ virtual OUString SAL_CALL getLocalName() override
{
return CNode::getLocalName();
}
- virtual OUString SAL_CALL getNamespaceURI()
- throw (css::uno::RuntimeException, std::exception) override
+ virtual OUString SAL_CALL getNamespaceURI() override
{
return CNode::getNamespaceURI();
}
- virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL getNextSibling()
- throw (css::uno::RuntimeException, std::exception) override
+ virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL getNextSibling() override
{
return CNode::getNextSibling();
}
- virtual css::xml::dom::NodeType SAL_CALL getNodeType()
- throw (css::uno::RuntimeException, std::exception) override
+ virtual css::xml::dom::NodeType SAL_CALL getNodeType() override
{
return CNode::getNodeType();
}
- virtual css::uno::Reference< css::xml::dom::XDocument > SAL_CALL getOwnerDocument()
- throw (css::uno::RuntimeException, std::exception) override
+ virtual css::uno::Reference< css::xml::dom::XDocument > SAL_CALL getOwnerDocument() override
{
return CNode::getOwnerDocument();
}
- virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL getParentNode()
- throw (css::uno::RuntimeException, std::exception) override
+ virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL getParentNode() override
{
return CNode::getParentNode();
}
- virtual OUString SAL_CALL getPrefix()
- throw (css::uno::RuntimeException, std::exception) override
+ virtual OUString SAL_CALL getPrefix() override
{
return CNode::getPrefix();
}
- virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL getPreviousSibling()
- throw (css::uno::RuntimeException, std::exception) override
+ virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL getPreviousSibling() override
{
return CNode::getPreviousSibling();
}
- virtual sal_Bool SAL_CALL hasAttributes()
- throw (css::uno::RuntimeException, std::exception) override
+ virtual sal_Bool SAL_CALL hasAttributes() override
{
return CNode::hasAttributes();
}
- virtual sal_Bool SAL_CALL hasChildNodes()
- throw (css::uno::RuntimeException, std::exception) override
+ virtual sal_Bool SAL_CALL hasChildNodes() override
{
return CNode::hasChildNodes();
}
virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL insertBefore(
- const css::uno::Reference< css::xml::dom::XNode >& newChild, const css::uno::Reference< css::xml::dom::XNode >& refChild)
- throw (css::uno::RuntimeException, css::xml::dom::DOMException, std::exception) override
+ const css::uno::Reference< css::xml::dom::XNode >& newChild, const css::uno::Reference< css::xml::dom::XNode >& refChild) override
{
return CNode::insertBefore(newChild, refChild);
}
- virtual sal_Bool SAL_CALL isSupported(const OUString& feature, const OUString& ver)
- throw (css::uno::RuntimeException, std::exception) override
+ virtual sal_Bool SAL_CALL isSupported(const OUString& feature, const OUString& ver) override
{
return CNode::isSupported(feature, ver);
}
- virtual void SAL_CALL normalize()
- throw (css::uno::RuntimeException, std::exception) override
+ virtual void SAL_CALL normalize() override
{
CNode::normalize();
}
- virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL removeChild(const css::uno::Reference< css::xml::dom::XNode >& oldChild)
- throw (css::uno::RuntimeException, css::xml::dom::DOMException, std::exception) override
+ virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL removeChild(const css::uno::Reference< css::xml::dom::XNode >& oldChild) override
{
return CNode::removeChild(oldChild);
}
virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL replaceChild(
- const css::uno::Reference< css::xml::dom::XNode >& newChild, const css::uno::Reference< css::xml::dom::XNode >& oldChild)
- throw (css::uno::RuntimeException, css::xml::dom::DOMException, std::exception) override
+ const css::uno::Reference< css::xml::dom::XNode >& newChild, const css::uno::Reference< css::xml::dom::XNode >& oldChild) override
{
return CNode::replaceChild(newChild, oldChild);
}
- virtual void SAL_CALL setNodeValue(const OUString& nodeValue)
- throw (css::uno::RuntimeException, css::xml::dom::DOMException, std::exception) override
+ virtual void SAL_CALL setNodeValue(const OUString& nodeValue) override
{
return CNode::setNodeValue(nodeValue);
}
- virtual void SAL_CALL setPrefix(const OUString& prefix)
- throw (css::uno::RuntimeException, css::xml::dom::DOMException, std::exception) override
+ virtual void SAL_CALL setPrefix(const OUString& prefix) override
{
return CNode::setPrefix(prefix);
}