summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unoxml/source/dom/attributesmap.cxx8
-rw-r--r--unoxml/source/dom/attributesmap.hxx8
2 files changed, 8 insertions, 8 deletions
diff --git a/unoxml/source/dom/attributesmap.cxx b/unoxml/source/dom/attributesmap.cxx
index 4514225ad499..9652bc60c2ae 100644
--- a/unoxml/source/dom/attributesmap.cxx
+++ b/unoxml/source/dom/attributesmap.cxx
@@ -157,7 +157,7 @@ namespace DOM
*/
Reference< XNode > SAL_CALL
CAttributesMap::removeNamedItem(OUString const& name)
- throw (RuntimeException, std::exception)
+ throw (DOMException, RuntimeException, std::exception)
{
// no MutexGuard needed: m_pElement is const
Reference< XAttr > const xAttr(m_pElement->getAttributeNode(name));
@@ -178,7 +178,7 @@ namespace DOM
Reference< XNode > SAL_CALL
CAttributesMap::removeNamedItemNS(
OUString const& namespaceURI, OUString const& localName)
- throw (RuntimeException, std::exception)
+ throw (DOMException, RuntimeException, std::exception)
{
// no MutexGuard needed: m_pElement is const
Reference< XAttr > const xAttr(
@@ -199,7 +199,7 @@ namespace DOM
*/
Reference< XNode > SAL_CALL
CAttributesMap::setNamedItem(Reference< XNode > const& xNode)
- throw (RuntimeException, std::exception)
+ throw (DOMException, RuntimeException, std::exception)
{
Reference< XAttr > const xAttr(xNode, UNO_QUERY);
if (!xNode.is()) {
@@ -219,7 +219,7 @@ namespace DOM
*/
Reference< XNode > SAL_CALL
CAttributesMap::setNamedItemNS(Reference< XNode > const& xNode)
- throw (RuntimeException, std::exception)
+ throw (DOMException, RuntimeException, std::exception)
{
Reference< XAttr > const xAttr(xNode, UNO_QUERY);
if (!xNode.is()) {
diff --git a/unoxml/source/dom/attributesmap.hxx b/unoxml/source/dom/attributesmap.hxx
index 54537e940297..94449df979e3 100644
--- a/unoxml/source/dom/attributesmap.hxx
+++ b/unoxml/source/dom/attributesmap.hxx
@@ -77,28 +77,28 @@ namespace DOM
*/
virtual Reference< XNode > SAL_CALL
removeNamedItem(OUString const& name)
- throw (RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (DOMException, RuntimeException, std::exception) SAL_OVERRIDE;
/**
// Removes a node specified by local name and namespace URI.
*/
virtual Reference< XNode > SAL_CALL removeNamedItemNS(
OUString const& namespaceURI, OUString const& localName)
- throw (RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (DOMException, RuntimeException, std::exception) SAL_OVERRIDE;
/**
// Adds a node using its nodeName attribute.
*/
virtual Reference< XNode > SAL_CALL
setNamedItem(Reference< XNode > const& arg)
- throw (RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (DOMException, RuntimeException, std::exception) SAL_OVERRIDE;
/**
Adds a node using its namespaceURI and localName.
*/
virtual Reference< XNode > SAL_CALL
setNamedItemNS(Reference< XNode > const& arg)
- throw (RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (DOMException, RuntimeException, std::exception) SAL_OVERRIDE;
};
}