diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-02-25 21:31:58 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-02-26 18:22:20 +0100 |
commit | 5e21a413c788f839a66d9e4c14e745ed18058db8 (patch) | |
tree | d4451246461346a425ad6f796e08bf1514cdd942 /unoxml/source/dom/attr.cxx | |
parent | Fixup whitespace changes, remove commented code. (diff) | |
download | core-5e21a413c788f839a66d9e4c14e745ed18058db8.tar.gz core-5e21a413c788f839a66d9e4c14e745ed18058db8.zip |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'unoxml/source/dom/attr.cxx')
-rw-r--r-- | unoxml/source/dom/attr.cxx | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/unoxml/source/dom/attr.cxx b/unoxml/source/dom/attr.cxx index 4eaa92216056..44c6d1e2726f 100644 --- a/unoxml/source/dom/attr.cxx +++ b/unoxml/source/dom/attr.cxx @@ -74,17 +74,17 @@ namespace DOM } OUString SAL_CALL CAttr::getNodeName() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return getName(); } OUString SAL_CALL CAttr::getNodeValue() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return getValue(); } OUString SAL_CALL CAttr::getLocalName() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return getName(); } @@ -93,7 +93,7 @@ namespace DOM /** Returns the name of this attribute. */ - OUString SAL_CALL CAttr::getName() throw (RuntimeException) + OUString SAL_CALL CAttr::getName() throw (RuntimeException, std::exception) { ::osl::MutexGuard const g(m_rMutex); @@ -110,7 +110,7 @@ namespace DOM attribute is not in use. */ Reference< XElement > SAL_CALL CAttr::getOwnerElement() - throw (RuntimeException) + throw (RuntimeException, std::exception) { ::osl::MutexGuard const g(m_rMutex); @@ -132,7 +132,7 @@ namespace DOM document, this is true; otherwise, it is false. */ sal_Bool SAL_CALL CAttr::getSpecified() - throw (RuntimeException) + throw (RuntimeException, std::exception) { // FIXME if this DOM implemenatation supported DTDs it would need // to check that this attribute is not default or something @@ -143,7 +143,7 @@ namespace DOM On retrieval, the value of the attribute is returned as a string. */ OUString SAL_CALL CAttr::getValue() - throw (RuntimeException) + throw (RuntimeException, std::exception) { ::osl::MutexGuard const g(m_rMutex); @@ -164,7 +164,7 @@ namespace DOM Sets the value of the attribute from a string. */ void SAL_CALL CAttr::setValue(const OUString& value) - throw (RuntimeException, DOMException) + throw (RuntimeException, DOMException, std::exception) { ::osl::ClearableMutexGuard guard(m_rMutex); @@ -212,7 +212,7 @@ namespace DOM } void SAL_CALL CAttr::setPrefix(const OUString& prefix) - throw (RuntimeException, DOMException) + throw (RuntimeException, DOMException, std::exception) { ::osl::MutexGuard const g(m_rMutex); @@ -228,7 +228,7 @@ namespace DOM } OUString SAL_CALL CAttr::getPrefix() - throw (RuntimeException) + throw (RuntimeException, std::exception) { ::osl::MutexGuard const g(m_rMutex); @@ -245,7 +245,7 @@ namespace DOM } OUString SAL_CALL CAttr::getNamespaceURI() - throw (RuntimeException) + throw (RuntimeException, std::exception) { ::osl::MutexGuard const g(m_rMutex); |