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/comment.hxx | |
parent | 6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff) |
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'unoxml/source/dom/comment.hxx')
-rw-r--r-- | unoxml/source/dom/comment.hxx | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/unoxml/source/dom/comment.hxx b/unoxml/source/dom/comment.hxx index fefabdcb4c10..8958ee7abbb5 100644 --- a/unoxml/source/dom/comment.hxx +++ b/unoxml/source/dom/comment.hxx @@ -50,40 +50,40 @@ namespace DOM // --- delegations for XCharacterData virtual void SAL_CALL appendData(const OUString& arg) - throw (RuntimeException, DOMException) + throw (RuntimeException, DOMException, std::exception) { CCharacterData::appendData(arg); } virtual void SAL_CALL deleteData(sal_Int32 offset, sal_Int32 count) - throw (RuntimeException, DOMException) + throw (RuntimeException, DOMException, std::exception) { CCharacterData::deleteData(offset, count); } - virtual OUString SAL_CALL getData() throw (RuntimeException) + virtual OUString SAL_CALL getData() throw (RuntimeException, std::exception) { return CCharacterData::getData(); } - virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException) + virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception) { return CCharacterData::getLength(); } virtual void SAL_CALL insertData(sal_Int32 offset, const OUString& arg) - throw (RuntimeException, DOMException) + throw (RuntimeException, DOMException, std::exception) { CCharacterData::insertData(offset, arg); } virtual void SAL_CALL replaceData(sal_Int32 offset, sal_Int32 count, const OUString& arg) - throw (RuntimeException, DOMException) + throw (RuntimeException, DOMException, std::exception) { CCharacterData::replaceData(offset, count, arg); } virtual void SAL_CALL setData(const OUString& data) - throw (RuntimeException, DOMException) + throw (RuntimeException, DOMException, std::exception) { CCharacterData::setData(data); } virtual OUString SAL_CALL subStringData(sal_Int32 offset, sal_Int32 count) - throw (RuntimeException, DOMException) + throw (RuntimeException, DOMException, std::exception) { return CCharacterData::subStringData(offset, count); } @@ -91,125 +91,125 @@ namespace DOM // --- overrides for XNode base virtual OUString SAL_CALL getNodeName() - throw (RuntimeException); + throw (RuntimeException, std::exception); virtual OUString SAL_CALL getNodeValue() - throw (RuntimeException); + throw (RuntimeException, std::exception); // --- delegation for XNde base. virtual Reference< XNode > SAL_CALL appendChild(const Reference< XNode >& newChild) - throw (RuntimeException, DOMException) + throw (RuntimeException, DOMException, std::exception) { return CCharacterData::appendChild(newChild); } virtual Reference< XNode > SAL_CALL cloneNode(sal_Bool deep) - throw (RuntimeException) + throw (RuntimeException, std::exception) { return CCharacterData::cloneNode(deep); } virtual Reference< XNamedNodeMap > SAL_CALL getAttributes() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return CCharacterData::getAttributes(); } virtual Reference< XNodeList > SAL_CALL getChildNodes() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return CCharacterData::getChildNodes(); } virtual Reference< XNode > SAL_CALL getFirstChild() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return CCharacterData::getFirstChild(); } virtual Reference< XNode > SAL_CALL getLastChild() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return CCharacterData::getLastChild(); } virtual OUString SAL_CALL getLocalName() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return CCharacterData::getLocalName(); } virtual OUString SAL_CALL getNamespaceURI() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return CCharacterData::getNamespaceURI(); } virtual Reference< XNode > SAL_CALL getNextSibling() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return CCharacterData::getNextSibling(); } virtual NodeType SAL_CALL getNodeType() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return CCharacterData::getNodeType(); } virtual Reference< XDocument > SAL_CALL getOwnerDocument() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return CCharacterData::getOwnerDocument(); } virtual Reference< XNode > SAL_CALL getParentNode() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return CCharacterData::getParentNode(); } virtual OUString SAL_CALL getPrefix() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return CCharacterData::getPrefix(); } virtual Reference< XNode > SAL_CALL getPreviousSibling() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return CCharacterData::getPreviousSibling(); } virtual sal_Bool SAL_CALL hasAttributes() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return CCharacterData::hasAttributes(); } virtual sal_Bool SAL_CALL hasChildNodes() - throw (RuntimeException) + throw (RuntimeException, std::exception) { return CCharacterData::hasChildNodes(); } virtual Reference< XNode > SAL_CALL insertBefore( const Reference< XNode >& newChild, const Reference< XNode >& refChild) - throw (RuntimeException, DOMException) + throw (RuntimeException, DOMException, std::exception) { return CCharacterData::insertBefore(newChild, refChild); } virtual sal_Bool SAL_CALL isSupported(const OUString& feature, const OUString& ver) - throw (RuntimeException) + throw (RuntimeException, std::exception) { return CCharacterData::isSupported(feature, ver); } virtual void SAL_CALL normalize() - throw (RuntimeException) + throw (RuntimeException, std::exception) { CCharacterData::normalize(); } virtual Reference< XNode > SAL_CALL removeChild(const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException) + throw (RuntimeException, DOMException, std::exception) { return CCharacterData::removeChild(oldChild); } virtual Reference< XNode > SAL_CALL replaceChild( const Reference< XNode >& newChild, const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException) + throw (RuntimeException, DOMException, std::exception) { return CCharacterData::replaceChild(newChild, oldChild); } virtual void SAL_CALL setNodeValue(const OUString& nodeValue) - throw (RuntimeException, DOMException) + throw (RuntimeException, DOMException, std::exception) { return CCharacterData::setNodeValue(nodeValue); } virtual void SAL_CALL setPrefix(const OUString& prefix) - throw (RuntimeException, DOMException) + throw (RuntimeException, DOMException, std::exception) { return CCharacterData::setPrefix(prefix); } |