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/processinginstruction.cxx | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'unoxml/source/dom/processinginstruction.cxx')
-rw-r--r-- | unoxml/source/dom/processinginstruction.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/unoxml/source/dom/processinginstruction.cxx b/unoxml/source/dom/processinginstruction.cxx index 99790e159c7c..b4b76d1b0000 100644 --- a/unoxml/source/dom/processinginstruction.cxx +++ b/unoxml/source/dom/processinginstruction.cxx @@ -47,7 +47,7 @@ namespace DOM The content of this processing instruction. */ OUString SAL_CALL - CProcessingInstruction::getData() throw (RuntimeException) + CProcessingInstruction::getData() throw (RuntimeException, std::exception) { ::osl::MutexGuard const g(m_rMutex); @@ -68,7 +68,7 @@ namespace DOM The target of this processing instruction. */ OUString SAL_CALL - CProcessingInstruction::getTarget() throw (RuntimeException) + CProcessingInstruction::getTarget() throw (RuntimeException, std::exception) { ::osl::MutexGuard const g(m_rMutex); @@ -89,7 +89,7 @@ namespace DOM The content of this processing instruction. */ void SAL_CALL CProcessingInstruction::setData(OUString const& rData) - throw (RuntimeException, DOMException) + throw (RuntimeException, DOMException, std::exception) { ::osl::MutexGuard const g(m_rMutex); @@ -106,7 +106,7 @@ namespace DOM } OUString SAL_CALL - CProcessingInstruction::getNodeName() throw (RuntimeException) + CProcessingInstruction::getNodeName() throw (RuntimeException, std::exception) { ::osl::MutexGuard const g(m_rMutex); @@ -121,14 +121,14 @@ namespace DOM } OUString SAL_CALL CProcessingInstruction::getNodeValue() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return getData(); } void SAL_CALL CProcessingInstruction::setNodeValue(OUString const& rNodeValue) - throw (RuntimeException, DOMException) + throw (RuntimeException, DOMException, std::exception) { return setData(rNodeValue); } |