summaryrefslogtreecommitdiff
path: root/unoxml/source/dom/attributesmap.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/dom/attributesmap.cxx')
-rw-r--r--unoxml/source/dom/attributesmap.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/unoxml/source/dom/attributesmap.cxx b/unoxml/source/dom/attributesmap.cxx
index 9c93f24a2d20..4514225ad499 100644
--- a/unoxml/source/dom/attributesmap.cxx
+++ b/unoxml/source/dom/attributesmap.cxx
@@ -37,7 +37,7 @@ namespace DOM
/**
The number of nodes in this map.
*/
- sal_Int32 SAL_CALL CAttributesMap::getLength() throw (RuntimeException)
+ sal_Int32 SAL_CALL CAttributesMap::getLength() throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_rMutex);
@@ -59,7 +59,7 @@ namespace DOM
Retrieves a node specified by local name
*/
Reference< XNode > SAL_CALL
- CAttributesMap::getNamedItem(OUString const& name) throw (RuntimeException)
+ CAttributesMap::getNamedItem(OUString const& name) throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_rMutex);
@@ -91,7 +91,7 @@ namespace DOM
Reference< XNode > SAL_CALL
CAttributesMap::getNamedItemNS(
OUString const& namespaceURI, OUString const& localName)
- throw (RuntimeException)
+ throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_rMutex);
@@ -126,7 +126,7 @@ namespace DOM
Returns the indexth item in the map.
*/
Reference< XNode > SAL_CALL
- CAttributesMap::item(sal_Int32 index) throw (RuntimeException)
+ CAttributesMap::item(sal_Int32 index) throw (RuntimeException, std::exception)
{
::osl::MutexGuard const g(m_rMutex);
@@ -157,7 +157,7 @@ namespace DOM
*/
Reference< XNode > SAL_CALL
CAttributesMap::removeNamedItem(OUString const& name)
- throw (RuntimeException)
+ throw (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)
+ throw (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)
+ throw (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)
+ throw (RuntimeException, std::exception)
{
Reference< XAttr > const xAttr(xNode, UNO_QUERY);
if (!xNode.is()) {