diff options
Diffstat (limited to 'unoxml/source/dom/element.cxx')
-rw-r--r-- | unoxml/source/dom/element.cxx | 24 |
1 files changed, 4 insertions, 20 deletions
diff --git a/unoxml/source/dom/element.cxx b/unoxml/source/dom/element.cxx index 4933f89baf3c..ed81e8d2333f 100644 --- a/unoxml/source/dom/element.cxx +++ b/unoxml/source/dom/element.cxx @@ -231,7 +231,6 @@ namespace DOM return empty string if attribute is not set */ OUString SAL_CALL CElement::getAttribute(OUString const& name) - throw (RuntimeException, std::exception) { ::osl::MutexGuard const g(m_rMutex); @@ -254,7 +253,6 @@ namespace DOM Retrieves an attribute node by name. */ Reference< XAttr > SAL_CALL CElement::getAttributeNode(OUString const& name) - throw (RuntimeException, std::exception) { ::osl::MutexGuard const g(m_rMutex); @@ -280,7 +278,6 @@ namespace DOM */ Reference< XAttr > SAL_CALL CElement::getAttributeNodeNS( const OUString& namespaceURI, const OUString& localName) - throw (RuntimeException, std::exception) { ::osl::MutexGuard const g(m_rMutex); @@ -311,7 +308,6 @@ namespace DOM OUString SAL_CALL CElement::getAttributeNS( OUString const& namespaceURI, OUString const& localName) - throw (RuntimeException, std::exception) { ::osl::MutexGuard const g(m_rMutex); @@ -342,7 +338,6 @@ namespace DOM */ Reference< XNodeList > SAL_CALL CElement::getElementsByTagName(OUString const& rLocalName) - throw (RuntimeException, std::exception) { ::osl::MutexGuard const g(m_rMutex); @@ -359,7 +354,6 @@ namespace DOM Reference< XNodeList > SAL_CALL CElement::getElementsByTagNameNS( OUString const& rNamespaceURI, OUString const& rLocalName) - throw (RuntimeException, std::exception) { ::osl::MutexGuard const g(m_rMutex); @@ -372,7 +366,6 @@ namespace DOM The name of the element. */ OUString SAL_CALL CElement::getTagName() - throw (RuntimeException, std::exception) { ::osl::MutexGuard const g(m_rMutex); @@ -390,7 +383,6 @@ namespace DOM element or has a default value, false otherwise. */ sal_Bool SAL_CALL CElement::hasAttribute(OUString const& name) - throw (RuntimeException, std::exception) { ::osl::MutexGuard const g(m_rMutex); @@ -405,7 +397,6 @@ namespace DOM */ sal_Bool SAL_CALL CElement::hasAttributeNS( OUString const& namespaceURI, OUString const& localName) - throw (RuntimeException, std::exception) { ::osl::MutexGuard const g(m_rMutex); @@ -420,7 +411,6 @@ namespace DOM Removes an attribute by name. */ void SAL_CALL CElement::removeAttribute(OUString const& name) - throw (RuntimeException, DOMException, std::exception) { ::osl::MutexGuard const g(m_rMutex); @@ -445,7 +435,6 @@ namespace DOM */ void SAL_CALL CElement::removeAttributeNS( OUString const& namespaceURI, OUString const& localName) - throw (RuntimeException, DOMException, std::exception) { ::osl::MutexGuard const g(m_rMutex); @@ -475,7 +464,6 @@ namespace DOM */ Reference< XAttr > SAL_CALL CElement::removeAttributeNode(Reference< XAttr > const& oldAttr) - throw (RuntimeException, DOMException, std::exception) { ::osl::MutexGuard const g(m_rMutex); @@ -594,7 +582,6 @@ namespace DOM Reference< XAttr > CElement::setAttributeNode(const Reference< XAttr >& newAttr) - throw (RuntimeException, DOMException, std::exception) { return setAttributeNode_Impl_Lock(newAttr, false); } @@ -604,7 +591,6 @@ namespace DOM */ Reference< XAttr > CElement::setAttributeNodeNS(const Reference< XAttr >& newAttr) - throw (RuntimeException, DOMException, std::exception) { return setAttributeNode_Impl_Lock(newAttr, true); } @@ -614,7 +600,6 @@ namespace DOM */ void SAL_CALL CElement::setAttribute(OUString const& name, OUString const& value) - throw (RuntimeException, DOMException, std::exception) { ::osl::ClearableMutexGuard guard(m_rMutex); @@ -660,7 +645,6 @@ namespace DOM void SAL_CALL CElement::setAttributeNS(OUString const& namespaceURI, OUString const& qualifiedName, OUString const& value) - throw (RuntimeException, DOMException, std::exception) { if (namespaceURI.isEmpty()) throw RuntimeException(); @@ -737,7 +721,7 @@ namespace DOM } Reference< XNamedNodeMap > SAL_CALL - CElement::getAttributes() throw (RuntimeException, std::exception) + CElement::getAttributes() { ::osl::MutexGuard const g(m_rMutex); @@ -746,12 +730,12 @@ namespace DOM return xMap; } - OUString SAL_CALL CElement::getNodeName()throw (RuntimeException, std::exception) + OUString SAL_CALL CElement::getNodeName() { return getLocalName(); } - OUString SAL_CALL CElement::getLocalName()throw (RuntimeException, std::exception) + OUString SAL_CALL CElement::getLocalName() { ::osl::MutexGuard const g(m_rMutex); @@ -764,7 +748,7 @@ namespace DOM return aName; } - OUString SAL_CALL CElement::getNodeValue() throw (RuntimeException, std::exception) + OUString SAL_CALL CElement::getNodeValue() { return OUString(); } |