diff options
Diffstat (limited to 'unoxml/source/dom/attributesmap.cxx')
-rw-r--r-- | unoxml/source/dom/attributesmap.cxx | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/unoxml/source/dom/attributesmap.cxx b/unoxml/source/dom/attributesmap.cxx index 921c085fbca3..88b386196c80 100644 --- a/unoxml/source/dom/attributesmap.cxx +++ b/unoxml/source/dom/attributesmap.cxx @@ -39,7 +39,7 @@ namespace DOM /** The number of nodes in this map. */ - sal_Int32 SAL_CALL CAttributesMap::getLength() throw (RuntimeException, std::exception) + sal_Int32 SAL_CALL CAttributesMap::getLength() { ::osl::MutexGuard const g(m_rMutex); @@ -61,7 +61,7 @@ namespace DOM Retrieves a node specified by local name */ Reference< XNode > SAL_CALL - CAttributesMap::getNamedItem(OUString const& name) throw (RuntimeException, std::exception) + CAttributesMap::getNamedItem(OUString const& name) { ::osl::MutexGuard const g(m_rMutex); @@ -92,7 +92,6 @@ namespace DOM Reference< XNode > SAL_CALL CAttributesMap::getNamedItemNS( OUString const& namespaceURI, OUString const& localName) - throw (RuntimeException, std::exception) { ::osl::MutexGuard const g(m_rMutex); @@ -126,7 +125,7 @@ namespace DOM Returns the indexth item in the map. */ Reference< XNode > SAL_CALL - CAttributesMap::item(sal_Int32 index) throw (RuntimeException, std::exception) + CAttributesMap::item(sal_Int32 index) { ::osl::MutexGuard const g(m_rMutex); @@ -156,7 +155,6 @@ namespace DOM */ Reference< XNode > SAL_CALL CAttributesMap::removeNamedItem(OUString const& name) - throw (DOMException, RuntimeException, std::exception) { // no MutexGuard needed: m_pElement is const Reference< XAttr > const xAttr(m_pElement->getAttributeNode(name)); @@ -177,7 +175,6 @@ namespace DOM Reference< XNode > SAL_CALL CAttributesMap::removeNamedItemNS( OUString const& namespaceURI, OUString const& localName) - throw (DOMException, RuntimeException, std::exception) { // no MutexGuard needed: m_pElement is const Reference< XAttr > const xAttr( @@ -198,7 +195,6 @@ namespace DOM */ Reference< XNode > SAL_CALL CAttributesMap::setNamedItem(Reference< XNode > const& xNode) - throw (DOMException, RuntimeException, std::exception) { Reference< XAttr > const xAttr(xNode, UNO_QUERY); if (!xNode.is()) { @@ -218,7 +214,6 @@ namespace DOM */ Reference< XNode > SAL_CALL CAttributesMap::setNamedItemNS(Reference< XNode > const& xNode) - throw (DOMException, RuntimeException, std::exception) { Reference< XAttr > const xAttr(xNode, UNO_QUERY); if (!xNode.is()) { |