diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-03-26 16:37:00 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-03-26 16:39:26 +0100 |
commit | 70cc2b191b95fbc210bc1f0f6a7159f341894f0f (patch) | |
tree | a70f4957c454b443520cbf91250c41d9eea80017 /unoxml | |
parent | 8757bea2e88c6e349e1fe98d8e9695d7b9c6179e (diff) |
First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.
Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
Diffstat (limited to 'unoxml')
35 files changed, 673 insertions, 673 deletions
diff --git a/unoxml/source/dom/attr.hxx b/unoxml/source/dom/attr.hxx index e2eb3dedd491..b79716d53ac6 100644 --- a/unoxml/source/dom/attr.hxx +++ b/unoxml/source/dom/attr.hxx @@ -59,149 +59,149 @@ namespace DOM /// return the libxml namespace corresponding to m_pNamespace on pNode xmlNsPtr GetNamespace(xmlNodePtr const pNode); - virtual bool IsChildTypeAllowed(NodeType const nodeType); + virtual bool IsChildTypeAllowed(NodeType const nodeType) SAL_OVERRIDE; /** Returns the name of this attribute. */ - virtual OUString SAL_CALL getName() throw (RuntimeException, std::exception); + virtual OUString SAL_CALL getName() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** The Element node this attribute is attached to or null if this attribute is not in use. */ - virtual Reference< XElement > SAL_CALL getOwnerElement() throw (RuntimeException, std::exception); + virtual Reference< XElement > SAL_CALL getOwnerElement() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** If this attribute was explicitly given a value in the original document, this is true; otherwise, it is false. */ - virtual sal_Bool SAL_CALL getSpecified()throw (RuntimeException, std::exception); + virtual sal_Bool SAL_CALL getSpecified()throw (RuntimeException, std::exception) SAL_OVERRIDE; /** On retrieval, the value of the attribute is returned as a string. */ - virtual OUString SAL_CALL getValue() throw (RuntimeException, std::exception); + virtual OUString SAL_CALL getValue() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Sets the value of the attribute from a string. */ - virtual void SAL_CALL setValue(const OUString& value) throw (RuntimeException, DOMException, std::exception); + virtual void SAL_CALL setValue(const OUString& value) throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; // resolve uno inheritance problems... // overrides for XNode base virtual OUString SAL_CALL getNodeName() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getNodeValue() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getLocalName() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; // --- delegation for XNde base. virtual Reference< XNode > SAL_CALL appendChild(const Reference< XNode >& newChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::appendChild(newChild); } virtual Reference< XNode > SAL_CALL cloneNode(sal_Bool deep) - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::cloneNode(deep); } virtual Reference< XNamedNodeMap > SAL_CALL getAttributes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getAttributes(); } virtual Reference< XNodeList > SAL_CALL getChildNodes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getChildNodes(); } virtual Reference< XNode > SAL_CALL getFirstChild() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getFirstChild(); } virtual Reference< XNode > SAL_CALL getLastChild() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getLastChild(); } virtual OUString SAL_CALL getNamespaceURI() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual Reference< XNode > SAL_CALL getNextSibling() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNextSibling(); } virtual NodeType SAL_CALL getNodeType() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNodeType(); } virtual Reference< XDocument > SAL_CALL getOwnerDocument() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getOwnerDocument(); } virtual Reference< XNode > SAL_CALL getParentNode() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getParentNode(); } virtual OUString SAL_CALL getPrefix() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual Reference< XNode > SAL_CALL getPreviousSibling() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getPreviousSibling(); } virtual sal_Bool SAL_CALL hasAttributes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::hasAttributes(); } virtual sal_Bool SAL_CALL hasChildNodes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::hasChildNodes(); } virtual Reference< XNode > SAL_CALL insertBefore( const Reference< XNode >& newChild, const Reference< XNode >& refChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::insertBefore(newChild, refChild); } virtual sal_Bool SAL_CALL isSupported(const OUString& feature, const OUString& ver) - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::isSupported(feature, ver); } virtual void SAL_CALL normalize() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { CNode::normalize(); } virtual Reference< XNode > SAL_CALL removeChild(const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::removeChild(oldChild); } virtual Reference< XNode > SAL_CALL replaceChild( const Reference< XNode >& newChild, const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::replaceChild(newChild, oldChild); } virtual void SAL_CALL setNodeValue(const OUString& nodeValue) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return setValue(nodeValue); } virtual void SAL_CALL setPrefix(const OUString& prefix) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; }; } diff --git a/unoxml/source/dom/attributesmap.hxx b/unoxml/source/dom/attributesmap.hxx index d481874a0d38..54537e940297 100644 --- a/unoxml/source/dom/attributesmap.hxx +++ b/unoxml/source/dom/attributesmap.hxx @@ -51,54 +51,54 @@ namespace DOM /** The number of nodes in this map. */ - virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception); + virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Retrieves a node specified by local name */ virtual Reference< XNode > SAL_CALL getNamedItem(OUString const& name) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Retrieves a node specified by local name and namespace URI. */ virtual Reference< XNode > SAL_CALL getNamedItemNS( OUString const& namespaceURI, OUString const& localName) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Returns the indexth item in the map. */ virtual Reference< XNode > SAL_CALL item(sal_Int32 index) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Removes a node specified by name. */ virtual Reference< XNode > SAL_CALL removeNamedItem(OUString const& name) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** // Removes a node specified by local name and namespace URI. */ virtual Reference< XNode > SAL_CALL removeNamedItemNS( OUString const& namespaceURI, OUString const& localName) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** // Adds a node using its nodeName attribute. */ virtual Reference< XNode > SAL_CALL setNamedItem(Reference< XNode > const& arg) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Adds a node using its namespaceURI and localName. */ virtual Reference< XNode > SAL_CALL setNamedItemNS(Reference< XNode > const& arg) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; }; } diff --git a/unoxml/source/dom/cdatasection.hxx b/unoxml/source/dom/cdatasection.hxx index de264c9556fc..98a5a7a0c641 100644 --- a/unoxml/source/dom/cdatasection.hxx +++ b/unoxml/source/dom/cdatasection.hxx @@ -45,50 +45,50 @@ namespace DOM public: - virtual void saxify(const Reference< XDocumentHandler >& i_xHandler); + virtual void saxify(const Reference< XDocumentHandler >& i_xHandler) SAL_OVERRIDE; virtual Reference< XText > SAL_CALL splitText(sal_Int32 offset) - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CText::splitText(offset); } // --- delegations for XCharacterData virtual void SAL_CALL appendData(const OUString& arg) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { CCharacterData::appendData(arg); } virtual void SAL_CALL deleteData(sal_Int32 offset, sal_Int32 count) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { CCharacterData::deleteData(offset, count); } - virtual OUString SAL_CALL getData() throw (RuntimeException, std::exception) + virtual OUString SAL_CALL getData() throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getData(); } - virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception) + virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getLength(); } virtual void SAL_CALL insertData(sal_Int32 offset, const OUString& arg) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { CCharacterData::insertData(offset, arg); } virtual void SAL_CALL replaceData(sal_Int32 offset, sal_Int32 count, const OUString& arg) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { CCharacterData::replaceData(offset, count, arg); } virtual void SAL_CALL setData(const OUString& data) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { CCharacterData::setData(data); } virtual OUString SAL_CALL subStringData(sal_Int32 offset, sal_Int32 count) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CCharacterData::subStringData(offset, count); } @@ -96,125 +96,125 @@ namespace DOM // --- overrides for XNode base virtual OUString SAL_CALL getNodeName() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getNodeValue() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; // --- delegation for XNde base. virtual Reference< XNode > SAL_CALL appendChild(const Reference< XNode >& newChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::appendChild(newChild); } virtual Reference< XNode > SAL_CALL cloneNode(sal_Bool deep) - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::cloneNode(deep); } virtual Reference< XNamedNodeMap > SAL_CALL getAttributes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getAttributes(); } virtual Reference< XNodeList > SAL_CALL getChildNodes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getChildNodes(); } virtual Reference< XNode > SAL_CALL getFirstChild() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getFirstChild(); } virtual Reference< XNode > SAL_CALL getLastChild() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getLastChild(); } virtual OUString SAL_CALL getLocalName() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getLocalName(); } virtual OUString SAL_CALL getNamespaceURI() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNamespaceURI(); } virtual Reference< XNode > SAL_CALL getNextSibling() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNextSibling(); } virtual NodeType SAL_CALL getNodeType() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNodeType(); } virtual Reference< XDocument > SAL_CALL getOwnerDocument() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getOwnerDocument(); } virtual Reference< XNode > SAL_CALL getParentNode() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getParentNode(); } virtual OUString SAL_CALL getPrefix() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getPrefix(); } virtual Reference< XNode > SAL_CALL getPreviousSibling() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getPreviousSibling(); } virtual sal_Bool SAL_CALL hasAttributes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::hasAttributes(); } virtual sal_Bool SAL_CALL hasChildNodes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::hasChildNodes(); } virtual Reference< XNode > SAL_CALL insertBefore( const Reference< XNode >& newChild, const Reference< XNode >& refChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::insertBefore(newChild, refChild); } virtual sal_Bool SAL_CALL isSupported(const OUString& feature, const OUString& ver) - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::isSupported(feature, ver); } virtual void SAL_CALL normalize() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { CNode::normalize(); } virtual Reference< XNode > SAL_CALL removeChild(const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::removeChild(oldChild); } virtual Reference< XNode > SAL_CALL replaceChild( const Reference< XNode >& newChild, const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::replaceChild(newChild, oldChild); } virtual void SAL_CALL setNodeValue(const OUString& nodeValue) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CText::setNodeValue(nodeValue); } virtual void SAL_CALL setPrefix(const OUString& prefix) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::setPrefix(prefix); } diff --git a/unoxml/source/dom/characterdata.hxx b/unoxml/source/dom/characterdata.hxx index b1924297f76a..b032b627e4dd 100644 --- a/unoxml/source/dom/characterdata.hxx +++ b/unoxml/source/dom/characterdata.hxx @@ -57,175 +57,175 @@ namespace DOM Append the string to the end of the character data of the node. */ virtual void SAL_CALL appendData(const OUString& arg) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; /** Remove a range of 16-bit units from the node. */ virtual void SAL_CALL deleteData(sal_Int32 offset, sal_Int32 count) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; /** Return the character data of the node that implements this interface. */ - virtual OUString SAL_CALL getData() throw (RuntimeException, std::exception); + virtual OUString SAL_CALL getData() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** The number of 16-bit units that are available through data and the substringData method below. */ - virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception); + virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Insert a string at the specified 16-bit unit offset. */ virtual void SAL_CALL insertData(sal_Int32 offset, const OUString& arg) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; /** Replace the characters starting at the specified 16-bit unit offset with the specified string. */ virtual void SAL_CALL replaceData(sal_Int32 offset, sal_Int32 count, const OUString& arg) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; /** Set the character data of the node that implements this interface. */ virtual void SAL_CALL setData(const OUString& data) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; /** Extracts a range of data from the node. */ virtual OUString SAL_CALL subStringData(sal_Int32 offset, sal_Int32 count) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; // --- delegation for XNode base. virtual Reference< XNode > SAL_CALL appendChild(const Reference< XNode >& newChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::appendChild(newChild); } virtual Reference< XNode > SAL_CALL cloneNode(sal_Bool deep) - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::cloneNode(deep); } virtual Reference< XNamedNodeMap > SAL_CALL getAttributes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getAttributes(); } virtual Reference< XNodeList > SAL_CALL getChildNodes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getChildNodes(); } virtual Reference< XNode > SAL_CALL getFirstChild() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getFirstChild(); } virtual Reference< XNode > SAL_CALL getLastChild() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getLastChild(); } virtual OUString SAL_CALL getLocalName() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getLocalName(); } virtual OUString SAL_CALL getNamespaceURI() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNamespaceURI(); } virtual Reference< XNode > SAL_CALL getNextSibling() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNextSibling(); } virtual OUString SAL_CALL getNodeName() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNodeName(); } virtual NodeType SAL_CALL getNodeType() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNodeType(); } virtual OUString SAL_CALL getNodeValue() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return getData(); } virtual Reference< XDocument > SAL_CALL getOwnerDocument() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getOwnerDocument(); } virtual Reference< XNode > SAL_CALL getParentNode() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getParentNode(); } virtual OUString SAL_CALL getPrefix() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getPrefix(); } virtual Reference< XNode > SAL_CALL getPreviousSibling() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getPreviousSibling(); } virtual sal_Bool SAL_CALL hasAttributes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::hasAttributes(); } virtual sal_Bool SAL_CALL hasChildNodes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::hasChildNodes(); } virtual Reference< XNode > SAL_CALL insertBefore( const Reference< XNode >& newChild, const Reference< XNode >& refChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::insertBefore(newChild, refChild); } virtual sal_Bool SAL_CALL isSupported(const OUString& feature, const OUString& ver) - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::isSupported(feature, ver); } virtual void SAL_CALL normalize() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { CNode::normalize(); } virtual Reference< XNode > SAL_CALL removeChild(const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::removeChild(oldChild); } virtual Reference< XNode > SAL_CALL replaceChild( const Reference< XNode >& newChild, const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::replaceChild(newChild, oldChild); } virtual void SAL_CALL setNodeValue(const OUString& nodeValue) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return setData(nodeValue); } virtual void SAL_CALL setPrefix(const OUString& prefix) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::setPrefix(prefix); } diff --git a/unoxml/source/dom/childlist.hxx b/unoxml/source/dom/childlist.hxx index ff1bd8a208ab..1396c999a458 100644 --- a/unoxml/source/dom/childlist.hxx +++ b/unoxml/source/dom/childlist.hxx @@ -51,12 +51,12 @@ namespace DOM /** The number of nodes in the list. */ - virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception); + virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Returns the indexth item in the collection. */ virtual Reference< XNode > SAL_CALL item(sal_Int32 index) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; }; } diff --git a/unoxml/source/dom/comment.hxx b/unoxml/source/dom/comment.hxx index 8958ee7abbb5..db2facdee0e3 100644 --- a/unoxml/source/dom/comment.hxx +++ b/unoxml/source/dom/comment.hxx @@ -46,44 +46,44 @@ namespace DOM public: - virtual void saxify(const Reference< XDocumentHandler >& i_xHandler); + virtual void saxify(const Reference< XDocumentHandler >& i_xHandler) SAL_OVERRIDE; // --- delegations for XCharacterData virtual void SAL_CALL appendData(const OUString& arg) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { CCharacterData::appendData(arg); } virtual void SAL_CALL deleteData(sal_Int32 offset, sal_Int32 count) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { CCharacterData::deleteData(offset, count); } - virtual OUString SAL_CALL getData() throw (RuntimeException, std::exception) + virtual OUString SAL_CALL getData() throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getData(); } - virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception) + virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getLength(); } virtual void SAL_CALL insertData(sal_Int32 offset, const OUString& arg) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { CCharacterData::insertData(offset, arg); } virtual void SAL_CALL replaceData(sal_Int32 offset, sal_Int32 count, const OUString& arg) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { CCharacterData::replaceData(offset, count, arg); } virtual void SAL_CALL setData(const OUString& data) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { CCharacterData::setData(data); } virtual OUString SAL_CALL subStringData(sal_Int32 offset, sal_Int32 count) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CCharacterData::subStringData(offset, count); } @@ -91,125 +91,125 @@ namespace DOM // --- overrides for XNode base virtual OUString SAL_CALL getNodeName() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getNodeValue() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; // --- delegation for XNde base. virtual Reference< XNode > SAL_CALL appendChild(const Reference< XNode >& newChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CCharacterData::appendChild(newChild); } virtual Reference< XNode > SAL_CALL cloneNode(sal_Bool deep) - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::cloneNode(deep); } virtual Reference< XNamedNodeMap > SAL_CALL getAttributes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getAttributes(); } virtual Reference< XNodeList > SAL_CALL getChildNodes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getChildNodes(); } virtual Reference< XNode > SAL_CALL getFirstChild() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getFirstChild(); } virtual Reference< XNode > SAL_CALL getLastChild() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getLastChild(); } virtual OUString SAL_CALL getLocalName() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getLocalName(); } virtual OUString SAL_CALL getNamespaceURI() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getNamespaceURI(); } virtual Reference< XNode > SAL_CALL getNextSibling() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getNextSibling(); } virtual NodeType SAL_CALL getNodeType() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getNodeType(); } virtual Reference< XDocument > SAL_CALL getOwnerDocument() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getOwnerDocument(); } virtual Reference< XNode > SAL_CALL getParentNode() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getParentNode(); } virtual OUString SAL_CALL getPrefix() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getPrefix(); } virtual Reference< XNode > SAL_CALL getPreviousSibling() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getPreviousSibling(); } virtual sal_Bool SAL_CALL hasAttributes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::hasAttributes(); } virtual sal_Bool SAL_CALL hasChildNodes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::hasChildNodes(); } virtual Reference< XNode > SAL_CALL insertBefore( const Reference< XNode >& newChild, const Reference< XNode >& refChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CCharacterData::insertBefore(newChild, refChild); } virtual sal_Bool SAL_CALL isSupported(const OUString& feature, const OUString& ver) - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::isSupported(feature, ver); } virtual void SAL_CALL normalize() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { CCharacterData::normalize(); } virtual Reference< XNode > SAL_CALL removeChild(const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CCharacterData::removeChild(oldChild); } virtual Reference< XNode > SAL_CALL replaceChild( const Reference< XNode >& newChild, const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CCharacterData::replaceChild(newChild, oldChild); } virtual void SAL_CALL setNodeValue(const OUString& nodeValue) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CCharacterData::setNodeValue(nodeValue); } virtual void SAL_CALL setPrefix(const OUString& prefix) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CCharacterData::setPrefix(prefix); } diff --git a/unoxml/source/dom/document.hxx b/unoxml/source/dom/document.hxx index 18853dfaf7fa..a57280d04ce0 100644 --- a/unoxml/source/dom/document.hxx +++ b/unoxml/source/dom/document.hxx @@ -116,61 +116,61 @@ namespace DOM /// remove a UNO wrapper instance void RemoveCNode(xmlNodePtr const pNode, CNode const*const pCNode); - virtual CDocument & GetOwnerDocument(); + virtual CDocument & GetOwnerDocument() SAL_OVERRIDE; - virtual void saxify(const Reference< XDocumentHandler >& i_xHandler); + virtual void saxify(const Reference< XDocumentHandler >& i_xHandler) SAL_OVERRIDE; - virtual void fastSaxify( Context& rContext ); + virtual void fastSaxify( Context& rContext ) SAL_OVERRIDE; - virtual bool IsChildTypeAllowed(NodeType const nodeType); + virtual bool IsChildTypeAllowed(NodeType const nodeType) SAL_OVERRIDE; /** Creates an Attr of the given name. */ virtual Reference< XAttr > SAL_CALL createAttribute(const OUString& name) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; /** Creates an attribute of the given qualified name and namespace URI. */ virtual Reference< XAttr > SAL_CALL createAttributeNS(const OUString& namespaceURI, const OUString& qualifiedName) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; /** Creates a CDATASection node whose value is the specified string. */ virtual Reference< XCDATASection > SAL_CALL createCDATASection(const OUString& data) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Creates a Comment node given the specified string. */ virtual Reference< XComment > SAL_CALL createComment(const OUString& data) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Creates an empty DocumentFragment object. */ virtual Reference< XDocumentFragment > SAL_CALL createDocumentFragment() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Creates an element of the type specified. */ virtual Reference< XElement > SAL_CALL createElement(const OUString& tagName) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; /** Creates an element of the given qualified name and namespace URI. */ virtual Reference< XElement > SAL_CALL createElementNS(const OUString& namespaceURI, const OUString& qualifiedName) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; /** Creates an EntityReference object. */ virtual Reference< XEntityReference > SAL_CALL createEntityReference(const OUString& name) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; /** Creates a ProcessingInstruction node given the specified name and @@ -178,33 +178,33 @@ namespace DOM */ virtual Reference< XProcessingInstruction > SAL_CALL createProcessingInstruction( const OUString& target, const OUString& data) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; /** Creates a Text node given the specified string. */ virtual Reference< XText > SAL_CALL createTextNode(const OUString& data) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** The Document Type Declaration (see DocumentType) associated with this document. */ virtual Reference< XDocumentType > SAL_CALL getDoctype() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** This is a convenience attribute that allows direct access to the child node that is the root element of the document. */ virtual Reference< XElement > SAL_CALL getDocumentElement() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Returns the Element whose ID is given by elementId. */ virtual Reference< XElement > SAL_CALL getElementById(const OUString& elementId) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Returns a NodeList of all the Elements with a given tag name in the @@ -212,7 +212,7 @@ namespace DOM Document tree. */ virtual Reference< XNodeList > SAL_CALL getElementsByTagName(const OUString& tagname) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Returns a NodeList of all the Elements with a given local name and @@ -220,153 +220,153 @@ namespace DOM traversal of the Document tree. */ virtual Reference< XNodeList > SAL_CALL getElementsByTagNameNS(const OUString& namespaceURI, const OUString& localName) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** The DOMImplementation object that handles this document. */ virtual Reference< XDOMImplementation > SAL_CALL getImplementation() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Imports a node from another document to this document. */ virtual Reference< XNode > SAL_CALL importNode(const Reference< XNode >& importedNode, sal_Bool deep) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; // XDocumentEvent - virtual Reference< XEvent > SAL_CALL createEvent(const OUString& eventType) throw (RuntimeException, std::exception); + virtual Reference< XEvent > SAL_CALL createEvent(const OUString& eventType) throw (RuntimeException, std::exception) SAL_OVERRIDE; // XActiveDataControl, // see http://api.libreoffice.org/docs/common/ref/com/sun/star/io/XActiveDataControl.html - virtual void SAL_CALL addListener(const Reference< XStreamListener >& aListener ) throw (RuntimeException, std::exception); - virtual void SAL_CALL removeListener(const Reference< XStreamListener >& aListener ) throw (RuntimeException, std::exception); - virtual void SAL_CALL start() throw (RuntimeException, std::exception); - virtual void SAL_CALL terminate() throw (RuntimeException, std::exception); + virtual void SAL_CALL addListener(const Reference< XStreamListener >& aListener ) throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL removeListener(const Reference< XStreamListener >& aListener ) throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL start() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL terminate() throw (RuntimeException, std::exception) SAL_OVERRIDE; // XActiveDataSource // see http://api.libreoffice.org/docs/common/ref/com/sun/star/io/XActiveDataSource.html - virtual void SAL_CALL setOutputStream( const Reference< XOutputStream >& aStream ) throw (RuntimeException, std::exception); - virtual Reference< XOutputStream > SAL_CALL getOutputStream() throw (RuntimeException, std::exception); + virtual void SAL_CALL setOutputStream( const Reference< XOutputStream >& aStream ) throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual Reference< XOutputStream > SAL_CALL getOutputStream() throw (RuntimeException, std::exception) SAL_OVERRIDE; // ---- resolve uno inheritance problems... // overrides for XNode base virtual OUString SAL_CALL getNodeName() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getNodeValue() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual Reference< XNode > SAL_CALL cloneNode(sal_Bool deep) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; // --- delegation for XNde base. virtual Reference< XNode > SAL_CALL appendChild(const Reference< XNode >& newChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::appendChild(newChild); } virtual Reference< XNamedNodeMap > SAL_CALL getAttributes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getAttributes(); } virtual Reference< XNodeList > SAL_CALL getChildNodes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getChildNodes(); } virtual Reference< XNode > SAL_CALL getFirstChild() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getFirstChild(); } virtual Reference< XNode > SAL_CALL getLastChild() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getLastChild(); } virtual OUString SAL_CALL getLocalName() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getLocalName(); } virtual OUString SAL_CALL getNamespaceURI() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNamespaceURI(); } virtual Reference< XNode > SAL_CALL getNextSibling() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNextSibling(); } virtual NodeType SAL_CALL getNodeType() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNodeType(); } virtual Reference< XDocument > SAL_CALL getOwnerDocument() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getOwnerDocument(); } virtual Reference< XNode > SAL_CALL getParentNode() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getParentNode(); } virtual OUString SAL_CALL getPrefix() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getPrefix(); } virtual Reference< XNode > SAL_CALL getPreviousSibling() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getPreviousSibling(); } virtual sal_Bool SAL_CALL hasAttributes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::hasAttributes(); } virtual sal_Bool SAL_CALL hasChildNodes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::hasChildNodes(); } virtual Reference< XNode > SAL_CALL insertBefore( const Reference< XNode >& newChild, const Reference< XNode >& refChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::insertBefore(newChild, refChild); } virtual sal_Bool SAL_CALL isSupported(const OUString& feature, const OUString& ver) - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::isSupported(feature, ver); } virtual void SAL_CALL normalize() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { CNode::normalize(); } virtual Reference< XNode > SAL_CALL removeChild(const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::removeChild(oldChild); } virtual Reference< XNode > SAL_CALL replaceChild( const Reference< XNode >& newChild, const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::replaceChild(newChild, oldChild); } virtual void SAL_CALL setNodeValue(const OUString& nodeValue) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::setNodeValue(nodeValue); } virtual void SAL_CALL setPrefix(const OUString& prefix) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::setPrefix(prefix); } @@ -375,14 +375,14 @@ namespace DOM virtual void SAL_CALL serialize( const Reference< XDocumentHandler >& i_xHandler, const Sequence< beans::StringPair >& i_rNamespaces) - throw (RuntimeException, SAXException, std::exception); + throw (RuntimeException, SAXException, std::exception) SAL_OVERRIDE; // ::com::sun::star::xml::sax::XFastSAXSerializable virtual void SAL_CALL fastSerialize( const Reference< XFastDocumentHandler >& handler, const Reference< XFastTokenHandler >& tokenHandler, const Sequence< beans::StringPair >& i_rNamespaces, const Sequence< beans::Pair< OUString, sal_Int32 > >& namespaces ) - throw (SAXException, RuntimeException, std::exception); + throw (SAXException, RuntimeException, std::exception) SAL_OVERRIDE; }; } diff --git a/unoxml/source/dom/documentbuilder.cxx b/unoxml/source/dom/documentbuilder.cxx index d99836f649d8..c57ff627b35f 100644 --- a/unoxml/source/dom/documentbuilder.cxx +++ b/unoxml/source/dom/documentbuilder.cxx @@ -59,7 +59,7 @@ namespace DOM { public: virtual InputSource SAL_CALL resolveEntity( const OUString& sPublicId, const OUString& sSystemId ) - throw (::com::sun::star::uno::RuntimeException, std::exception) + throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE { InputSource is; is.sPublicId = sPublicId; diff --git a/unoxml/source/dom/documentbuilder.hxx b/unoxml/source/dom/documentbuilder.hxx index eb810ffd5752..ac47b1a07f37 100644 --- a/unoxml/source/dom/documentbuilder.hxx +++ b/unoxml/source/dom/documentbuilder.hxx @@ -86,59 +86,59 @@ namespace DOM // XServiceInfo virtual OUString SAL_CALL getImplementationName() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual Sequence< OUString > SAL_CALL getSupportedServiceNames () - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Obtain an instance of a DOMImplementation object. */ virtual Reference< XDOMImplementation > SAL_CALL getDOMImplementation() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Indicates whether or not this parser is configured to understand namespaces. */ virtual sal_Bool SAL_CALL isNamespaceAware() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Indicates whether or not this parser is configured to validate XML documents. */ virtual sal_Bool SAL_CALL isValidating() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Obtain a new instance of a DOM Document object to build a DOM tree with. */ virtual Reference< XDocument > SAL_CALL newDocument() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Parse the content of the given InputStream as an XML document and return a new DOM Document object. */ virtual Reference< XDocument > SAL_CALL parse(const Reference< XInputStream >& is) - throw (RuntimeException, SAXParseException, IOException, std::exception); + throw (RuntimeException, SAXParseException, IOException, std::exception) SAL_OVERRIDE; /** Parse the content of the given URI as an XML document and return a new DOM Document object. */ virtual Reference< XDocument > SAL_CALL parseURI(const OUString& uri) - throw (RuntimeException, SAXParseException, IOException, std::exception); + throw (RuntimeException, SAXParseException, IOException, std::exception) SAL_OVERRIDE; /** Specify the EntityResolver to be used to resolve entities present in the XML document to be parsed. */ virtual void SAL_CALL setEntityResolver(const Reference< XEntityResolver >& er) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual Reference< XEntityResolver > SAL_CALL getEntityResolver() throw (RuntimeException); @@ -149,7 +149,7 @@ namespace DOM the XML document to be parsed. */ virtual void SAL_CALL setErrorHandler(const Reference< XErrorHandler >& eh) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; }; } diff --git a/unoxml/source/dom/documentfragment.hxx b/unoxml/source/dom/documentfragment.hxx index 72c42dccf5f4..39bb72081bab 100644 --- a/unoxml/source/dom/documentfragment.hxx +++ b/unoxml/source/dom/documentfragment.hxx @@ -46,129 +46,129 @@ namespace DOM xmlNodePtr const pNode); public: - virtual bool IsChildTypeAllowed(NodeType const nodeType); + virtual bool IsChildTypeAllowed(NodeType const nodeType) SAL_OVERRIDE; // ---- resolve uno inheritance problems... // overrides for XNode base virtual OUString SAL_CALL getNodeName() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getNodeValue() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; // --- delegation for XNde base. virtual Reference< XNode > SAL_CALL appendChild(const Reference< XNode >& newChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::appendChild(newChild); } virtual Reference< XNode > SAL_CALL cloneNode(sal_Bool deep) - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::cloneNode(deep); } virtual Reference< XNamedNodeMap > SAL_CALL getAttributes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getAttributes(); } virtual Reference< XNodeList > SAL_CALL getChildNodes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getChildNodes(); } virtual Reference< XNode > SAL_CALL getFirstChild() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getFirstChild(); } virtual Reference< XNode > SAL_CALL getLastChild() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getLastChild(); } virtual OUString SAL_CALL getLocalName() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getLocalName(); } virtual OUString SAL_CALL getNamespaceURI() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNamespaceURI(); } virtual Reference< XNode > SAL_CALL getNextSibling() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNextSibling(); } virtual NodeType SAL_CALL getNodeType() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNodeType(); } virtual Reference< XDocument > SAL_CALL getOwnerDocument() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getOwnerDocument(); } virtual Reference< XNode > SAL_CALL getParentNode() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getParentNode(); } virtual OUString SAL_CALL getPrefix() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getPrefix(); } virtual Reference< XNode > SAL_CALL getPreviousSibling() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getPreviousSibling(); } virtual sal_Bool SAL_CALL hasAttributes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::hasAttributes(); } virtual sal_Bool SAL_CALL hasChildNodes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::hasChildNodes(); } virtual Reference< XNode > SAL_CALL insertBefore( const Reference< XNode >& newChild, const Reference< XNode >& refChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::insertBefore(newChild, refChild); } virtual sal_Bool SAL_CALL isSupported(const OUString& feature, const OUString& ver) - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::isSupported(feature, ver); } virtual void SAL_CALL normalize() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { CNode::normalize(); } virtual Reference< XNode > SAL_CALL removeChild(const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::removeChild(oldChild); } virtual Reference< XNode > SAL_CALL replaceChild( const Reference< XNode >& newChild, const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::replaceChild(newChild, oldChild); } virtual void SAL_CALL setNodeValue(const OUString& nodeValue) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::setNodeValue(nodeValue); } virtual void SAL_CALL setPrefix(const OUString& prefix) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::setPrefix(prefix); } diff --git a/unoxml/source/dom/documenttype.hxx b/unoxml/source/dom/documenttype.hxx index 025029821365..6a4aefc41406 100644 --- a/unoxml/source/dom/documenttype.hxx +++ b/unoxml/source/dom/documenttype.hxx @@ -58,155 +58,155 @@ namespace DOM A NamedNodeMap containing the general entities, both external and internal, declared in the DTD. */ - virtual Reference< XNamedNodeMap > SAL_CALL getEntities() throw (RuntimeException, std::exception); + virtual Reference< XNamedNodeMap > SAL_CALL getEntities() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** The internal subset as a string, or null if there is none. */ - virtual OUString SAL_CALL getInternalSubset() throw (RuntimeException, std::exception); + virtual OUString SAL_CALL getInternalSubset() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** The name of DTD; i.e., the name immediately following the DOCTYPE keyword. */ - virtual OUString SAL_CALL getName() throw (RuntimeException, std::exception); + virtual OUString SAL_CALL getName() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** A NamedNodeMap containing the notations declared in the DTD. */ - virtual Reference< XNamedNodeMap > SAL_CALL getNotations() throw (RuntimeException, std::exception); + virtual Reference< XNamedNodeMap > SAL_CALL getNotations() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** The public identifier of the external subset. */ - virtual OUString SAL_CALL getPublicId() throw (RuntimeException, std::exception); + virtual OUString SAL_CALL getPublicId() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** The system identifier of the external subset. */ - virtual OUString SAL_CALL getSystemId() throw (RuntimeException, std::exception); + virtual OUString SAL_CALL getSystemId() throw (RuntimeException, std::exception) SAL_OVERRIDE; // ---- resolve uno inheritance problems... // overrides for XNode base virtual OUString SAL_CALL getNodeName() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getNodeValue() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; // --- delegation for XNde base. virtual Reference< XNode > SAL_CALL appendChild(const Reference< XNode >& newChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::appendChild(newChild); } virtual Reference< XNode > SAL_CALL cloneNode(sal_Bool deep) - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::cloneNode(deep); } virtual Reference< XNamedNodeMap > SAL_CALL getAttributes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getAttributes(); } virtual Reference< XNodeList > SAL_CALL getChildNodes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getChildNodes(); } virtual Reference< XNode > SAL_CALL getFirstChild() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getFirstChild(); } virtual Reference< XNode > SAL_CALL getLastChild() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getLastChild(); } virtual OUString SAL_CALL getLocalName() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getLocalName(); } virtual OUString SAL_CALL getNamespaceURI() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNamespaceURI(); } virtual Reference< XNode > SAL_CALL getNextSibling() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNextSibling(); } virtual NodeType SAL_CALL getNodeType() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNodeType(); } virtual Reference< XDocument > SAL_CALL getOwnerDocument() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getOwnerDocument(); } virtual Reference< XNode > SAL_CALL getParentNode() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getParentNode(); } virtual OUString SAL_CALL getPrefix() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getPrefix(); } virtual Reference< XNode > SAL_CALL getPreviousSibling() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getPreviousSibling(); } virtual sal_Bool SAL_CALL hasAttributes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::hasAttributes(); } virtual sal_Bool SAL_CALL hasChildNodes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::hasChildNodes(); } virtual Reference< XNode > SAL_CALL insertBefore( const Reference< XNode >& newChild, const Reference< XNode >& refChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::insertBefore(newChild, refChild); } virtual sal_Bool SAL_CALL isSupported(const OUString& feature, const OUString& ver) - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::isSupported(feature, ver); } virtual void SAL_CALL normalize() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { CNode::normalize(); } virtual Reference< XNode > SAL_CALL removeChild(const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::removeChild(oldChild); } virtual Reference< XNode > SAL_CALL replaceChild( const Reference< XNode >& newChild, const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::replaceChild(newChild, oldChild); } virtual void SAL_CALL setNodeValue(const OUString& nodeValue) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::setNodeValue(nodeValue); } virtual void SAL_CALL setPrefix(const OUString& prefix) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::setPrefix(prefix); } diff --git a/unoxml/source/dom/domimplementation.hxx b/unoxml/source/dom/domimplementation.hxx index ded909a2bbd0..b29b4cb32bd4 100644 --- a/unoxml/source/dom/domimplementation.hxx +++ b/unoxml/source/dom/domimplementation.hxx @@ -43,26 +43,26 @@ namespace DOM static CDOMImplementation* get(); // there is just 1 static instance, so these must not delete it! - virtual void SAL_CALL acquire() throw (); - virtual void SAL_CALL release() throw (); + virtual void SAL_CALL acquire() throw () SAL_OVERRIDE; + virtual void SAL_CALL release() throw () SAL_OVERRIDE; /** Creates a DOM Document object of the specified type with its document element. */ virtual Reference <XDocument > SAL_CALL createDocument(const OUString& namespaceURI, const OUString& qualifiedName, const Reference< XDocumentType >& doctype) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Creates an empty DocumentType node. */ virtual Reference< XDocumentType > SAL_CALL createDocumentType(const OUString& qualifiedName, const OUString& publicId, const OUString& systemId) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Test if the DOM implementation implements a specific feature. */ virtual sal_Bool SAL_CALL hasFeature(const OUString& feature, const OUString& ver) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; }; } #endif diff --git a/unoxml/source/dom/element.hxx b/unoxml/source/dom/element.hxx index fa55b8bdb681..f14eebd6943a 100644 --- a/unoxml/source/dom/element.hxx +++ b/unoxml/source/dom/element.hxx @@ -53,35 +53,35 @@ namespace DOM public: - virtual void saxify(const Reference< XDocumentHandler >& i_xHandler); + virtual void saxify(const Reference< XDocumentHandler >& i_xHandler) SAL_OVERRIDE; - virtual void fastSaxify( Context& i_rContext ); + virtual void fastSaxify( Context& i_rContext ) SAL_OVERRIDE; - virtual bool IsChildTypeAllowed(NodeType const nodeType); + virtual bool IsChildTypeAllowed(NodeType const nodeType) SAL_OVERRIDE; /** Retrieves an attribute value by name. */ virtual OUString SAL_CALL getAttribute(const OUString& name) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Retrieves an attribute node by name. */ virtual Reference< XAttr > SAL_CALL getAttributeNode(const OUString& name) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Retrieves an Attr node by local name and namespace URI. */ virtual Reference< XAttr > SAL_CALL getAttributeNodeNS(const OUString& namespaceURI, const OUString& localName) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Retrieves an attribute value by local name and namespace URI. */ virtual OUString SAL_CALL getAttributeNS(const OUString& namespaceURI, const OUString& localName) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Returns a NodeList of all descendant Elements with a given tag name, @@ -89,7 +89,7 @@ namespace DOM encountered in a preorder traversal of this Element tree. */ virtual Reference< XNodeList > SAL_CALL getElementsByTagName(const OUString& name) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Returns a NodeList of all the descendant Elements with a given local @@ -98,70 +98,70 @@ namespace DOM */ virtual Reference< XNodeList > SAL_CALL getElementsByTagNameNS(const OUString& namespaceURI, const OUString& localName) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** The name of the element. */ virtual OUString SAL_CALL getTagName() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Returns true when an attribute with a given name is specified on this element or has a default value, false otherwise. */ virtual sal_Bool SAL_CALL hasAttribute(const OUString& name) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Returns true when an attribute with a given local name and namespace URI is specified on this element or has a default value, false otherwise. */ virtual sal_Bool SAL_CALL hasAttributeNS(const OUString& namespaceURI, const OUString& localName) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Removes an attribute by name. */ virtual void SAL_CALL removeAttribute(const OUString& name) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; /** Removes the specified attribute node. */ virtual Reference< XAttr > SAL_CALL removeAttributeNode(const Reference< XAttr >& oldAttr) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; /** Removes an attribute by local name and namespace URI. */ virtual void SAL_CALL removeAttributeNS(const OUString& namespaceURI, const OUString& localName) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; /** Adds a new attribute. */ virtual void SAL_CALL setAttribute(const OUString& name, const OUString& value) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; /** Adds a new attribute node. */ virtual Reference< XAttr > SAL_CALL setAttributeNode(const Reference< XAttr >& newAttr) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; /** Adds a new attribute. */ virtual Reference< XAttr > SAL_CALL setAttributeNodeNS(const Reference< XAttr >& newAttr) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; /** Adds a new attribute. */ virtual void SAL_CALL setAttributeNS( const OUString& namespaceURI, const OUString& qualifiedName, const OUString& value) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; /** sets the element name @@ -171,120 +171,120 @@ namespace DOM // overrides for XNode base virtual OUString SAL_CALL getNodeName() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getNodeValue() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual Reference< XNamedNodeMap > SAL_CALL getAttributes() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getLocalName() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; // resolve uno inheritance problems... // --- delegation for XNde base. virtual Reference< XNode > SAL_CALL appendChild(const Reference< XNode >& newChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::appendChild(newChild); } virtual Reference< XNode > SAL_CALL cloneNode(sal_Bool deep) - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::cloneNode(deep); } virtual Reference< XNodeList > SAL_CALL getChildNodes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getChildNodes(); } virtual Reference< XNode > SAL_CALL getFirstChild() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getFirstChild(); } virtual Reference< XNode > SAL_CALL getLastChild() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getLastChild(); } virtual OUString SAL_CALL getNamespaceURI() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNamespaceURI(); } virtual Reference< XNode > SAL_CALL getNextSibling() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNextSibling(); } virtual NodeType SAL_CALL getNodeType() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNodeType(); } virtual Reference< XDocument > SAL_CALL getOwnerDocument() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getOwnerDocument(); } virtual Reference< XNode > SAL_CALL getParentNode() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getParentNode(); } virtual OUString SAL_CALL getPrefix() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getPrefix(); } virtual Reference< XNode > SAL_CALL getPreviousSibling() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getPreviousSibling(); } virtual sal_Bool SAL_CALL hasAttributes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::hasAttributes(); } virtual sal_Bool SAL_CALL hasChildNodes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::hasChildNodes(); } virtual Reference< XNode > SAL_CALL insertBefore( const Reference< XNode >& newChild, const Reference< XNode >& refChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::insertBefore(newChild, refChild); } virtual sal_Bool SAL_CALL isSupported(const OUString& feature, const OUString& ver) - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::isSupported(feature, ver); } virtual void SAL_CALL normalize() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { CNode::normalize(); } virtual Reference< XNode > SAL_CALL removeChild(const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::removeChild(oldChild); } virtual Reference< XNode > SAL_CALL replaceChild( const Reference< XNode >& newChild, const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::replaceChild(newChild, oldChild); } virtual void SAL_CALL setNodeValue(const OUString& nodeValue) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::setNodeValue(nodeValue); } virtual void SAL_CALL setPrefix(const OUString& prefix) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::setPrefix(prefix); } diff --git a/unoxml/source/dom/elementlist.hxx b/unoxml/source/dom/elementlist.hxx index b875ca817277..baa7d572629e 100644 --- a/unoxml/source/dom/elementlist.hxx +++ b/unoxml/source/dom/elementlist.hxx @@ -72,16 +72,16 @@ namespace DOM /** The number of nodes in the list. */ - virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception); + virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Returns the indexth item in the collection. */ virtual Reference< XNode > SAL_CALL item(sal_Int32 index) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; // XEventListener virtual void SAL_CALL handleEvent(const Reference< XEvent >& evt) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; }; } diff --git a/unoxml/source/dom/entitiesmap.hxx b/unoxml/source/dom/entitiesmap.hxx index 76e641479218..75d9235569bd 100644 --- a/unoxml/source/dom/entitiesmap.hxx +++ b/unoxml/source/dom/entitiesmap.hxx @@ -49,53 +49,53 @@ namespace DOM /** The number of nodes in this map. */ - virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception); + virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Retrieves a node specified by local name */ virtual Reference< XNode > SAL_CALL - getNamedItem(const OUString& name) throw (RuntimeException, std::exception); + getNamedItem(const OUString& name) throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Retrieves a node specified by local name and namespace URI. */ virtual Reference< XNode > SAL_CALL getNamedItemNS( OUString const& namespaceURI, OUString const& localName) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Returns the indexth item in the map. */ virtual Reference< XNode > SAL_CALL - item(sal_Int32 index) throw (RuntimeException, std::exception); + item(sal_Int32 index) throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Removes a node specified by name. */ virtual Reference< XNode > SAL_CALL - removeNamedItem(OUString const& name) throw (RuntimeException, std::exception); + removeNamedItem(OUString const& name) throw (RuntimeException, std::exception) SAL_OVERRIDE; /** // Removes a node specified by local name and namespace URI. */ virtual Reference< XNode > SAL_CALL removeNamedItemNS( OUString const& namespaceURI, OUString const& localName) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** // Adds a node using its nodeName attribute. */ virtual Reference< XNode > SAL_CALL setNamedItem(Reference< XNode > const& arg) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Adds a node using its namespaceURI and localName. */ virtual Reference< XNode > SAL_CALL setNamedItemNS(Reference< XNode > const& arg) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; }; } diff --git a/unoxml/source/dom/entity.hxx b/unoxml/source/dom/entity.hxx index abb2fc7fb86f..c1bc55ba08fd 100644 --- a/unoxml/source/dom/entity.hxx +++ b/unoxml/source/dom/entity.hxx @@ -52,144 +52,144 @@ namespace DOM xmlEntityPtr const pEntity); public: - virtual bool IsChildTypeAllowed(NodeType const nodeType); + virtual bool IsChildTypeAllowed(NodeType const nodeType) SAL_OVERRIDE; /** For unparsed entities, the name of the notation for the entity. */ - virtual OUString SAL_CALL getNotationName() throw (RuntimeException, std::exception); + virtual OUString SAL_CALL getNotationName() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** The public identifier associated with the entity, if specified. */ - virtual OUString SAL_CALL getPublicId() throw (RuntimeException, std::exception); + virtual OUString SAL_CALL getPublicId() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** The system identifier associated with the entity, if specified. */ - virtual OUString SAL_CALL getSystemId() throw (RuntimeException, std::exception); + virtual OUString SAL_CALL getSystemId() throw (RuntimeException, std::exception) SAL_OVERRIDE; // ---- resolve uno inheritance problems... // overrides for XNode base virtual OUString SAL_CALL getNodeName() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getNodeValue() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; // --- delegation for XNde base. virtual Reference< XNode > SAL_CALL appendChild(const Reference< XNode >& newChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::appendChild(newChild); } virtual Reference< XNode > SAL_CALL cloneNode(sal_Bool deep) - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::cloneNode(deep); } virtual Reference< XNamedNodeMap > SAL_CALL getAttributes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getAttributes(); } virtual Reference< XNodeList > SAL_CALL getChildNodes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getChildNodes(); } virtual Reference< XNode > SAL_CALL getFirstChild() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getFirstChild(); } virtual Reference< XNode > SAL_CALL getLastChild() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getLastChild(); } virtual OUString SAL_CALL getLocalName() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getLocalName(); } virtual OUString SAL_CALL getNamespaceURI() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNamespaceURI(); } virtual Reference< XNode > SAL_CALL getNextSibling() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNextSibling(); } virtual NodeType SAL_CALL getNodeType() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNodeType(); } virtual Reference< XDocument > SAL_CALL getOwnerDocument() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getOwnerDocument(); } virtual Reference< XNode > SAL_CALL getParentNode() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getParentNode(); } virtual OUString SAL_CALL getPrefix() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getPrefix(); } virtual Reference< XNode > SAL_CALL getPreviousSibling() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getPreviousSibling(); } virtual sal_Bool SAL_CALL hasAttributes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::hasAttributes(); } virtual sal_Bool SAL_CALL hasChildNodes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::hasChildNodes(); } virtual Reference< XNode > SAL_CALL insertBefore( const Reference< XNode >& newChild, const Reference< XNode >& refChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::insertBefore(newChild, refChild); } virtual sal_Bool SAL_CALL isSupported(const OUString& feature, const OUString& ver) - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::isSupported(feature, ver); } virtual void SAL_CALL normalize() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { CNode::normalize(); } virtual Reference< XNode > SAL_CALL removeChild(const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::removeChild(oldChild); } virtual Reference< XNode > SAL_CALL replaceChild( const Reference< XNode >& newChild, const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::replaceChild(newChild, oldChild); } virtual void SAL_CALL setNodeValue(const OUString& nodeValue) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::setNodeValue(nodeValue); } virtual void SAL_CALL setPrefix(const OUString& prefix) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::setPrefix(prefix); } diff --git a/unoxml/source/dom/entityreference.hxx b/unoxml/source/dom/entityreference.hxx index e1e5878ce310..a732e3aab6fa 100644 --- a/unoxml/source/dom/entityreference.hxx +++ b/unoxml/source/dom/entityreference.hxx @@ -48,129 +48,129 @@ namespace DOM xmlNodePtr const pNode); public: - virtual bool IsChildTypeAllowed(NodeType const nodeType); + virtual bool IsChildTypeAllowed(NodeType const nodeType) SAL_OVERRIDE; // ---- resolve uno inheritance problems... // overrides for XNode base virtual OUString SAL_CALL getNodeName() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getNodeValue() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; // --- delegation for XNde base. virtual Reference< XNode > SAL_CALL appendChild(const Reference< XNode >& newChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::appendChild(newChild); } virtual Reference< XNode > SAL_CALL cloneNode(sal_Bool deep) - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::cloneNode(deep); } virtual Reference< XNamedNodeMap > SAL_CALL getAttributes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getAttributes(); } virtual Reference< XNodeList > SAL_CALL getChildNodes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getChildNodes(); } virtual Reference< XNode > SAL_CALL getFirstChild() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getFirstChild(); } virtual Reference< XNode > SAL_CALL getLastChild() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getLastChild(); } virtual OUString SAL_CALL getLocalName() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getLocalName(); } virtual OUString SAL_CALL getNamespaceURI() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNamespaceURI(); } virtual Reference< XNode > SAL_CALL getNextSibling() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNextSibling(); } virtual NodeType SAL_CALL getNodeType() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNodeType(); } virtual Reference< XDocument > SAL_CALL getOwnerDocument() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getOwnerDocument(); } virtual Reference< XNode > SAL_CALL getParentNode() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getParentNode(); } virtual OUString SAL_CALL getPrefix() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getPrefix(); } virtual Reference< XNode > SAL_CALL getPreviousSibling() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getPreviousSibling(); } virtual sal_Bool SAL_CALL hasAttributes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::hasAttributes(); } virtual sal_Bool SAL_CALL hasChildNodes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::hasChildNodes(); } virtual Reference< XNode > SAL_CALL insertBefore( const Reference< XNode >& newChild, const Reference< XNode >& refChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::insertBefore(newChild, refChild); } virtual sal_Bool SAL_CALL isSupported(const OUString& feature, const OUString& ver) - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::isSupported(feature, ver); } virtual void SAL_CALL normalize() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { CNode::normalize(); } virtual Reference< XNode > SAL_CALL removeChild(const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::removeChild(oldChild); } virtual Reference< XNode > SAL_CALL replaceChild( const Reference< XNode >& newChild, const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::replaceChild(newChild, oldChild); } virtual void SAL_CALL setNodeValue(const OUString& nodeValue) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::setNodeValue(nodeValue); } virtual void SAL_CALL setPrefix(const OUString& prefix) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::setPrefix(prefix); } diff --git a/unoxml/source/dom/node.hxx b/unoxml/source/dom/node.hxx index ab97112bb5a0..b897f2278754 100644 --- a/unoxml/source/dom/node.hxx +++ b/unoxml/source/dom/node.hxx @@ -153,127 +153,127 @@ namespace DOM */ virtual Reference< XNode > SAL_CALL appendChild(Reference< XNode > const& xNewChild) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; /** Returns a duplicate of this node, i.e., serves as a generic copy constructor for nodes. */ virtual Reference< XNode > SAL_CALL cloneNode(sal_Bool deep) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** A NamedNodeMap containing the attributes of this node (if it is an Element) or null otherwise. */ virtual Reference< XNamedNodeMap > SAL_CALL getAttributes() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** A NodeList that contains all children of this node. */ virtual Reference< XNodeList > SAL_CALL getChildNodes() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** The first child of this node. */ virtual Reference< XNode > SAL_CALL getFirstChild() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** The last child of this node. */ virtual Reference< XNode > SAL_CALL getLastChild() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Returns the local part of the qualified name of this node. */ virtual OUString SAL_CALL getLocalName() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** The namespace URI of this node, or null if it is unspecified. */ virtual OUString SAL_CALL getNamespaceURI() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** The node immediately following this node. */ virtual Reference< XNode > SAL_CALL getNextSibling() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** The name of this node, depending on its type; see the table above. -- virtual implemented by actual node types */ virtual OUString SAL_CALL getNodeName() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** A code representing the type of the underlying object, as defined above. */ virtual NodeType SAL_CALL getNodeType() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** The value of this node, depending on its type; see the table above. -- virtual implemented by actual node types */ virtual OUString SAL_CALL getNodeValue() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** The Document object associated with this node. */ virtual Reference< XDocument > SAL_CALL getOwnerDocument() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** The parent of this node. */ virtual Reference< XNode > SAL_CALL getParentNode() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** The namespace prefix of this node, or null if it is unspecified. */ virtual OUString SAL_CALL getPrefix() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** The node immediately preceding this node. */ virtual Reference< XNode > SAL_CALL getPreviousSibling() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Returns whether this node (if it is an element) has any attributes. */ virtual sal_Bool SAL_CALL hasAttributes() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Returns whether this node has any children. */ virtual sal_Bool SAL_CALL hasChildNodes() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Inserts the node newChild before the existing child node refChild. */ virtual Reference< XNode > SAL_CALL insertBefore( const Reference< XNode >& newChild, const Reference< XNode >& refChild) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; /** Tests whether the DOM implementation implements a specific feature and that feature is supported by this node. */ virtual sal_Bool SAL_CALL isSupported(const OUString& feature, const OUString& ver) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Puts all Text nodes in the full depth of the sub-tree underneath this @@ -283,14 +283,14 @@ namespace DOM Text nodes nor empty Text nodes. */ virtual void SAL_CALL normalize() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Removes the child node indicated by oldChild from the list of children, and returns it. */ virtual Reference< XNode > SAL_CALL removeChild(const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; /** Replaces the child node oldChild with newChild in the list of children, @@ -298,39 +298,39 @@ namespace DOM */ virtual Reference< XNode > SAL_CALL replaceChild( const Reference< XNode >& newChild, const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; /** The value of this node, depending on its type; see the table above. */ virtual void SAL_CALL setNodeValue(const OUString& nodeValue) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; /** The namespace prefix of this node, or null if it is unspecified. */ virtual void SAL_CALL setPrefix(const OUString& prefix) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; // --- XEventTarget virtual void SAL_CALL addEventListener(const OUString& eventType, const Reference< XEventListener >& listener, sal_Bool useCapture) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL removeEventListener(const OUString& eventType, const Reference< XEventListener >& listener, sal_Bool useCapture) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL dispatchEvent(const Reference< XEvent >& evt) - throw(RuntimeException, EventException, std::exception); + throw(RuntimeException, EventException, std::exception) SAL_OVERRIDE; // --- XUnoTunnel virtual ::sal_Int64 SAL_CALL getSomething(Sequence< ::sal_Int8 > const& rId) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; }; /// eliminate redundant namespace declarations diff --git a/unoxml/source/dom/notation.hxx b/unoxml/source/dom/notation.hxx index df1b606fe5a1..bed459626fc7 100644 --- a/unoxml/source/dom/notation.hxx +++ b/unoxml/source/dom/notation.hxx @@ -51,134 +51,134 @@ namespace DOM /** The public identifier of this notation. */ - virtual OUString SAL_CALL getPublicId() throw (RuntimeException, std::exception); + virtual OUString SAL_CALL getPublicId() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** The system identifier of this notation. */ - virtual OUString SAL_CALL getSystemId() throw (RuntimeException, std::exception); + virtual OUString SAL_CALL getSystemId() throw (RuntimeException, std::exception) SAL_OVERRIDE; // ---- resolve uno inheritance problems... // overrides for XNode base virtual OUString SAL_CALL getNodeName() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getNodeValue() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; // --- delegation for XNde base. virtual Reference< XNode > SAL_CALL appendChild(const Reference< XNode >& newChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::appendChild(newChild); } virtual Reference< XNode > SAL_CALL cloneNode(sal_Bool deep) - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::cloneNode(deep); } virtual Reference< XNamedNodeMap > SAL_CALL getAttributes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getAttributes(); } virtual Reference< XNodeList > SAL_CALL getChildNodes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getChildNodes(); } virtual Reference< XNode > SAL_CALL getFirstChild() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getFirstChild(); } virtual Reference< XNode > SAL_CALL getLastChild() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getLastChild(); } virtual OUString SAL_CALL getLocalName() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getLocalName(); } virtual OUString SAL_CALL getNamespaceURI() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNamespaceURI(); } virtual Reference< XNode > SAL_CALL getNextSibling() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNextSibling(); } virtual NodeType SAL_CALL getNodeType() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNodeType(); } virtual Reference< XDocument > SAL_CALL getOwnerDocument() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getOwnerDocument(); } virtual Reference< XNode > SAL_CALL getParentNode() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getParentNode(); } virtual OUString SAL_CALL getPrefix() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getPrefix(); } virtual Reference< XNode > SAL_CALL getPreviousSibling() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getPreviousSibling(); } virtual sal_Bool SAL_CALL hasAttributes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::hasAttributes(); } virtual sal_Bool SAL_CALL hasChildNodes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::hasChildNodes(); } virtual Reference< XNode > SAL_CALL insertBefore( const Reference< XNode >& newChild, const Reference< XNode >& refChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::insertBefore(newChild, refChild); } virtual sal_Bool SAL_CALL isSupported(const OUString& feature, const OUString& ver) - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::isSupported(feature, ver); } virtual void SAL_CALL normalize() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { CNode::normalize(); } virtual Reference< XNode > SAL_CALL removeChild(const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::removeChild(oldChild); } virtual Reference< XNode > SAL_CALL replaceChild( const Reference< XNode >& newChild, const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::replaceChild(newChild, oldChild); } virtual void SAL_CALL setNodeValue(const OUString& nodeValue) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::setNodeValue(nodeValue); } virtual void SAL_CALL setPrefix(const OUString& prefix) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::setPrefix(prefix); } diff --git a/unoxml/source/dom/notationsmap.hxx b/unoxml/source/dom/notationsmap.hxx index e3132639851e..57a8e322c382 100644 --- a/unoxml/source/dom/notationsmap.hxx +++ b/unoxml/source/dom/notationsmap.hxx @@ -49,53 +49,53 @@ namespace DOM /** The number of nodes in this map. */ - virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception); + virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Retrieves a node specified by local name */ virtual Reference< XNode > SAL_CALL - getNamedItem(OUString const& name) throw (RuntimeException, std::exception); + getNamedItem(OUString const& name) throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Retrieves a node specified by local name and namespace URI. */ virtual Reference< XNode > SAL_CALL getNamedItemNS( OUString const& namespaceURI, OUString const& localName) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Returns the indexth item in the map. */ virtual Reference< XNode > SAL_CALL - item(sal_Int32 index) throw (RuntimeException, std::exception); + item(sal_Int32 index) throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Removes a node specified by name. */ virtual Reference< XNode > SAL_CALL - removeNamedItem(OUString const& name) throw (RuntimeException, std::exception); + removeNamedItem(OUString const& name) throw (RuntimeException, std::exception) SAL_OVERRIDE; /** // Removes a node specified by local name and namespace URI. */ virtual Reference< XNode > SAL_CALL removeNamedItemNS( OUString const& namespaceURI, OUString const& localName) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** // Adds a node using its nodeName attribute. */ virtual Reference< XNode > SAL_CALL setNamedItem(Reference< XNode > const& arg) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Adds a node using its namespaceURI and localName. */ virtual Reference< XNode > SAL_CALL setNamedItemNS(Reference< XNode > const& arg) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; }; } diff --git a/unoxml/source/dom/processinginstruction.hxx b/unoxml/source/dom/processinginstruction.hxx index d1687944cc9f..168b65176078 100644 --- a/unoxml/source/dom/processinginstruction.hxx +++ b/unoxml/source/dom/processinginstruction.hxx @@ -49,142 +49,142 @@ namespace DOM public: - virtual void saxify(const Reference< XDocumentHandler >& i_xHandler); + virtual void saxify(const Reference< XDocumentHandler >& i_xHandler) SAL_OVERRIDE; /** The content of this processing instruction. */ - virtual OUString SAL_CALL getData() throw (RuntimeException, std::exception); + virtual OUString SAL_CALL getData() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** The target of this processing instruction. */ - virtual OUString SAL_CALL getTarget() throw (RuntimeException, std::exception); + virtual OUString SAL_CALL getTarget() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** The content of this processing instruction. */ - virtual void SAL_CALL setData(const OUString& data) throw (RuntimeException, DOMException, std::exception); + virtual void SAL_CALL setData(const OUString& data) throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; // ---- resolve uno inheritance problems... // overrides for XNode base virtual OUString SAL_CALL getNodeName() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getNodeValue() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL setNodeValue(OUString const& rNodeValue) - throw (RuntimeException, DOMException, std::exception); + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE; // --- delegation for XNde base. virtual Reference< XNode > SAL_CALL appendChild(const Reference< XNode >& newChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::appendChild(newChild); } virtual Reference< XNode > SAL_CALL cloneNode(sal_Bool deep) - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::cloneNode(deep); } virtual Reference< XNamedNodeMap > SAL_CALL getAttributes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getAttributes(); } virtual Reference< XNodeList > SAL_CALL getChildNodes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getChildNodes(); } virtual Reference< XNode > SAL_CALL getFirstChild() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getFirstChild(); } virtual Reference< XNode > SAL_CALL getLastChild() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getLastChild(); } virtual OUString SAL_CALL getLocalName() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getLocalName(); } virtual OUString SAL_CALL getNamespaceURI() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNamespaceURI(); } virtual Reference< XNode > SAL_CALL getNextSibling() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNextSibling(); } virtual NodeType SAL_CALL getNodeType() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getNodeType(); } virtual Reference< XDocument > SAL_CALL getOwnerDocument() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getOwnerDocument(); } virtual Reference< XNode > SAL_CALL getParentNode() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getParentNode(); } virtual OUString SAL_CALL getPrefix() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getPrefix(); } virtual Reference< XNode > SAL_CALL getPreviousSibling() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::getPreviousSibling(); } virtual sal_Bool SAL_CALL hasAttributes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::hasAttributes(); } virtual sal_Bool SAL_CALL hasChildNodes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::hasChildNodes(); } virtual Reference< XNode > SAL_CALL insertBefore( const Reference< XNode >& newChild, const Reference< XNode >& refChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::insertBefore(newChild, refChild); } virtual sal_Bool SAL_CALL isSupported(const OUString& feature, const OUString& ver) - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CNode::isSupported(feature, ver); } virtual void SAL_CALL normalize() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { CNode::normalize(); } virtual Reference< XNode > SAL_CALL removeChild(const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::removeChild(oldChild); } virtual Reference< XNode > SAL_CALL replaceChild( const Reference< XNode >& newChild, const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::replaceChild(newChild, oldChild); } virtual void SAL_CALL setPrefix(const OUString& prefix) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CNode::setPrefix(prefix); } diff --git a/unoxml/source/dom/saxbuilder.hxx b/unoxml/source/dom/saxbuilder.hxx index c9ad2b9079e2..a7d38378797c 100644 --- a/unoxml/source/dom/saxbuilder.hxx +++ b/unoxml/source/dom/saxbuilder.hxx @@ -92,46 +92,46 @@ namespace DOM // XServiceInfo virtual OUString SAL_CALL getImplementationName() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual Sequence< OUString > SAL_CALL getSupportedServiceNames () - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; // XDocumentHandler virtual void SAL_CALL startDocument() - throw( RuntimeException, com::sun::star::xml::sax::SAXException, std::exception ); + throw( RuntimeException, com::sun::star::xml::sax::SAXException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL endDocument() - throw( RuntimeException, com::sun::star::xml::sax::SAXException, std::exception ); + throw( RuntimeException, com::sun::star::xml::sax::SAXException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL startElement( const OUString& aName, const Reference< XAttributeList >& xAttribs ) - throw( RuntimeException, com::sun::star::xml::sax::SAXException, std::exception ); + throw( RuntimeException, com::sun::star::xml::sax::SAXException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL endElement( const OUString& aName ) - throw( RuntimeException, com::sun::star::xml::sax::SAXException, std::exception ); + throw( RuntimeException, com::sun::star::xml::sax::SAXException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL characters( const OUString& aChars ) - throw( RuntimeException, com::sun::star::xml::sax::SAXException, std::exception ); + throw( RuntimeException, com::sun::star::xml::sax::SAXException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL ignorableWhitespace( const OUString& aWhitespaces ) - throw( RuntimeException, com::sun::star::xml::sax::SAXException, std::exception ); + throw( RuntimeException, com::sun::star::xml::sax::SAXException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL processingInstruction( const OUString& aTarget, const OUString& aData ) - throw( RuntimeException, com::sun::star::xml::sax::SAXException, std::exception ); + throw( RuntimeException, com::sun::star::xml::sax::SAXException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL setDocumentLocator( const Reference< XLocator >& xLocator ) - throw( RuntimeException, com::sun::star::xml::sax::SAXException, std::exception ); + throw( RuntimeException, com::sun::star::xml::sax::SAXException, std::exception ) SAL_OVERRIDE; // XSAXDocumentBuilder virtual SAXDocumentBuilderState SAL_CALL getState() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL reset() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual Reference< XDocument > SAL_CALL getDocument() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual Reference< XDocumentFragment > SAL_CALL getDocumentFragment() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL startDocumentFragment(const Reference< XDocument >& ownerDoc) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL endDocumentFragment() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; }; diff --git a/unoxml/source/dom/text.hxx b/unoxml/source/dom/text.hxx index 9ac9c051abf6..865742baf085 100644 --- a/unoxml/source/dom/text.hxx +++ b/unoxml/source/dom/text.hxx @@ -54,52 +54,52 @@ namespace DOM public: - virtual void saxify(const Reference< XDocumentHandler >& i_xHandler); + virtual void saxify(const Reference< XDocumentHandler >& i_xHandler) SAL_OVERRIDE; - virtual void fastSaxify( Context& io_rContext ); + virtual void fastSaxify( Context& io_rContext ) SAL_OVERRIDE; // Breaks this node into two nodes at the specified offset, keeping // both in the tree as siblings. virtual Reference< XText > SAL_CALL splitText(sal_Int32 offset) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; // --- delegations for XCharacterData virtual void SAL_CALL appendData(const OUString& arg) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { CCharacterData::appendData(arg); } virtual void SAL_CALL deleteData(sal_Int32 offset, sal_Int32 count) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { CCharacterData::deleteData(offset, count); } - virtual OUString SAL_CALL getData() throw (RuntimeException, std::exception) + virtual OUString SAL_CALL getData() throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getData(); } - virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception) + virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getLength(); } virtual void SAL_CALL insertData(sal_Int32 offset, const OUString& arg) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { CCharacterData::insertData(offset, arg); } virtual void SAL_CALL replaceData(sal_Int32 offset, sal_Int32 count, const OUString& arg) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { CCharacterData::replaceData(offset, count, arg); } virtual void SAL_CALL setData(const OUString& data) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { CCharacterData::setData(data); } virtual OUString SAL_CALL subStringData(sal_Int32 offset, sal_Int32 count) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CCharacterData::subStringData(offset, count); } @@ -107,128 +107,128 @@ namespace DOM // --- overrides for XNode base virtual OUString SAL_CALL getNodeName() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; // --- resolve uno inheritance problems... // --- delegation for XNde base. virtual Reference< XNode > SAL_CALL appendChild(const Reference< XNode >& newChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CCharacterData::appendChild(newChild); } virtual Reference< XNode > SAL_CALL cloneNode(sal_Bool deep) - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::cloneNode(deep); } virtual Reference< XNamedNodeMap > SAL_CALL getAttributes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getAttributes(); } virtual Reference< XNodeList > SAL_CALL getChildNodes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getChildNodes(); } virtual Reference< XNode > SAL_CALL getFirstChild() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getFirstChild(); } virtual Reference< XNode > SAL_CALL getLastChild() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getLastChild(); } virtual OUString SAL_CALL getLocalName() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getLocalName(); } virtual OUString SAL_CALL getNamespaceURI() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getNamespaceURI(); } virtual Reference< XNode > SAL_CALL getNextSibling() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getNextSibling(); } virtual NodeType SAL_CALL getNodeType() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getNodeType(); } - virtual OUString SAL_CALL getNodeValue() throw (RuntimeException, std::exception) + virtual OUString SAL_CALL getNodeValue() throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getNodeValue(); } virtual Reference< XDocument > SAL_CALL getOwnerDocument() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getOwnerDocument(); } virtual Reference< XNode > SAL_CALL getParentNode() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getParentNode(); } virtual OUString SAL_CALL getPrefix() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getPrefix(); } virtual Reference< XNode > SAL_CALL getPreviousSibling() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::getPreviousSibling(); } virtual sal_Bool SAL_CALL hasAttributes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::hasAttributes(); } virtual sal_Bool SAL_CALL hasChildNodes() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::hasChildNodes(); } virtual Reference< XNode > SAL_CALL insertBefore( const Reference< XNode >& newChild, const Reference< XNode >& refChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CCharacterData::insertBefore(newChild, refChild); } virtual sal_Bool SAL_CALL isSupported(const OUString& feature, const OUString& ver) - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { return CCharacterData::isSupported(feature, ver); } virtual void SAL_CALL normalize() - throw (RuntimeException, std::exception) + throw (RuntimeException, std::exception) SAL_OVERRIDE { CCharacterData::normalize(); } virtual Reference< XNode > SAL_CALL removeChild(const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CCharacterData::removeChild(oldChild); } virtual Reference< XNode > SAL_CALL replaceChild( const Reference< XNode >& newChild, const Reference< XNode >& oldChild) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CCharacterData::replaceChild(newChild, oldChild); } virtual void SAL_CALL setNodeValue(const OUString& nodeValue) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CCharacterData::setNodeValue(nodeValue); } virtual void SAL_CALL setPrefix(const OUString& prefix) - throw (RuntimeException, DOMException, std::exception) + throw (RuntimeException, DOMException, std::exception) SAL_OVERRIDE { return CCharacterData::setPrefix(prefix); } diff --git a/unoxml/source/events/event.hxx b/unoxml/source/events/event.hxx index a148e20c9902..303b2486acdd 100644 --- a/unoxml/source/events/event.hxx +++ b/unoxml/source/events/event.hxx @@ -59,19 +59,19 @@ public: explicit CEvent(); virtual ~CEvent(); - virtual OUString SAL_CALL getType() throw (RuntimeException, std::exception); - virtual Reference< XEventTarget > SAL_CALL getTarget() throw (RuntimeException, std::exception); - virtual Reference< XEventTarget > SAL_CALL getCurrentTarget() throw (RuntimeException, std::exception); - virtual PhaseType SAL_CALL getEventPhase() throw (RuntimeException, std::exception); - virtual sal_Bool SAL_CALL getBubbles() throw (RuntimeException, std::exception); - virtual sal_Bool SAL_CALL getCancelable() throw (RuntimeException, std::exception); - virtual com::sun::star::util::Time SAL_CALL getTimeStamp() throw (RuntimeException, std::exception); - virtual void SAL_CALL stopPropagation() throw (RuntimeException, std::exception); - virtual void SAL_CALL preventDefault() throw (RuntimeException, std::exception); + virtual OUString SAL_CALL getType() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual Reference< XEventTarget > SAL_CALL getTarget() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual Reference< XEventTarget > SAL_CALL getCurrentTarget() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual PhaseType SAL_CALL getEventPhase() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Bool SAL_CALL getBubbles() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Bool SAL_CALL getCancelable() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual com::sun::star::util::Time SAL_CALL getTimeStamp() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL stopPropagation() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL preventDefault() throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL initEvent( const OUString& eventTypeArg, sal_Bool canBubbleArg, - sal_Bool cancelableArg) throw (RuntimeException, std::exception); + sal_Bool cancelableArg) throw (RuntimeException, std::exception) SAL_OVERRIDE; }; }} #endif diff --git a/unoxml/source/events/mouseevent.hxx b/unoxml/source/events/mouseevent.hxx index 460c0a8ed5e3..bedb4212685b 100644 --- a/unoxml/source/events/mouseevent.hxx +++ b/unoxml/source/events/mouseevent.hxx @@ -50,16 +50,16 @@ protected: public: explicit CMouseEvent(); - virtual sal_Int32 SAL_CALL getScreenX() throw (RuntimeException, std::exception); - virtual sal_Int32 SAL_CALL getScreenY() throw (RuntimeException, std::exception); - virtual sal_Int32 SAL_CALL getClientX() throw (RuntimeException, std::exception); - virtual sal_Int32 SAL_CALL getClientY() throw (RuntimeException, std::exception); - virtual sal_Bool SAL_CALL getCtrlKey() throw (RuntimeException, std::exception); - virtual sal_Bool SAL_CALL getShiftKey() throw (RuntimeException, std::exception); - virtual sal_Bool SAL_CALL getAltKey() throw (RuntimeException, std::exception); - virtual sal_Bool SAL_CALL getMetaKey() throw (RuntimeException, std::exception); - virtual sal_Int16 SAL_CALL getButton() throw (RuntimeException, std::exception); - virtual Reference< XEventTarget > SAL_CALL getRelatedTarget() throw(RuntimeException, std::exception); + virtual sal_Int32 SAL_CALL getScreenX() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Int32 SAL_CALL getScreenY() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Int32 SAL_CALL getClientX() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Int32 SAL_CALL getClientY() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Bool SAL_CALL getCtrlKey() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Bool SAL_CALL getShiftKey() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Bool SAL_CALL getAltKey() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Bool SAL_CALL getMetaKey() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Int16 SAL_CALL getButton() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual Reference< XEventTarget > SAL_CALL getRelatedTarget() throw(RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL initMouseEvent( const OUString& typeArg, @@ -77,30 +77,30 @@ public: sal_Bool metaKeyArg, sal_Int16 buttonArg, const Reference< XEventTarget >& relatedTargetArg) - throw(RuntimeException, std::exception); + throw(RuntimeException, std::exception) SAL_OVERRIDE; // delegate to CUIevent - virtual Reference< XAbstractView > SAL_CALL getView() throw (RuntimeException, std::exception); - virtual sal_Int32 SAL_CALL getDetail() throw (RuntimeException, std::exception); + virtual Reference< XAbstractView > SAL_CALL getView() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Int32 SAL_CALL getDetail() throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL initUIEvent(const OUString& typeArg, sal_Bool canBubbleArg, sal_Bool cancelableArg, const Reference< XAbstractView >& viewArg, - sal_Int32 detailArg) throw (RuntimeException, std::exception); - virtual OUString SAL_CALL getType() throw (RuntimeException, std::exception); - virtual Reference< XEventTarget > SAL_CALL getTarget() throw (RuntimeException, std::exception); - virtual Reference< XEventTarget > SAL_CALL getCurrentTarget() throw (RuntimeException, std::exception); - virtual PhaseType SAL_CALL getEventPhase() throw (RuntimeException, std::exception); - virtual sal_Bool SAL_CALL getBubbles() throw (RuntimeException, std::exception); - virtual sal_Bool SAL_CALL getCancelable() throw (RuntimeException, std::exception); - virtual com::sun::star::util::Time SAL_CALL getTimeStamp() throw (RuntimeException, std::exception); - virtual void SAL_CALL stopPropagation() throw (RuntimeException, std::exception); - virtual void SAL_CALL preventDefault() throw (RuntimeException, std::exception); + sal_Int32 detailArg) throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual OUString SAL_CALL getType() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual Reference< XEventTarget > SAL_CALL getTarget() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual Reference< XEventTarget > SAL_CALL getCurrentTarget() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual PhaseType SAL_CALL getEventPhase() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Bool SAL_CALL getBubbles() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Bool SAL_CALL getCancelable() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual com::sun::star::util::Time SAL_CALL getTimeStamp() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL stopPropagation() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL preventDefault() throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL initEvent( const OUString& eventTypeArg, sal_Bool canBubbleArg, sal_Bool cancelableArg) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; }; }} #endif diff --git a/unoxml/source/events/mutationevent.hxx b/unoxml/source/events/mutationevent.hxx index 0ee03d780659..f9651039587a 100644 --- a/unoxml/source/events/mutationevent.hxx +++ b/unoxml/source/events/mutationevent.hxx @@ -52,11 +52,11 @@ public: virtual ~CMutationEvent(); - virtual Reference< XNode > SAL_CALL getRelatedNode() throw (RuntimeException, std::exception); - virtual OUString SAL_CALL getPrevValue() throw (RuntimeException, std::exception); - virtual OUString SAL_CALL getNewValue() throw (RuntimeException, std::exception); - virtual OUString SAL_CALL getAttrName() throw (RuntimeException, std::exception); - virtual AttrChangeType SAL_CALL getAttrChange() throw (RuntimeException, std::exception); + virtual Reference< XNode > SAL_CALL getRelatedNode() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual OUString SAL_CALL getPrevValue() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual OUString SAL_CALL getNewValue() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual OUString SAL_CALL getAttrName() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual AttrChangeType SAL_CALL getAttrChange() throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL initMutationEvent( const OUString& typeArg, sal_Bool canBubbleArg, @@ -65,23 +65,23 @@ public: const OUString& prevValueArg, const OUString& newValueArg, const OUString& attrNameArg, - AttrChangeType attrChangeArg) throw (RuntimeException, std::exception); + AttrChangeType attrChangeArg) throw (RuntimeException, std::exception) SAL_OVERRIDE; // delegate to CEvent, since we are inheriting from CEvent and XEvent - virtual OUString SAL_CALL getType() throw (RuntimeException, std::exception); - virtual Reference< XEventTarget > SAL_CALL getTarget() throw (RuntimeException, std::exception); - virtual Reference< XEventTarget > SAL_CALL getCurrentTarget() throw (RuntimeException, std::exception); - virtual PhaseType SAL_CALL getEventPhase() throw (RuntimeException, std::exception); - virtual sal_Bool SAL_CALL getBubbles() throw (RuntimeException, std::exception); - virtual sal_Bool SAL_CALL getCancelable() throw (RuntimeException, std::exception); - virtual com::sun::star::util::Time SAL_CALL getTimeStamp() throw (RuntimeException, std::exception); - virtual void SAL_CALL stopPropagation() throw (RuntimeException, std::exception); - virtual void SAL_CALL preventDefault() throw (RuntimeException, std::exception); + virtual OUString SAL_CALL getType() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual Reference< XEventTarget > SAL_CALL getTarget() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual Reference< XEventTarget > SAL_CALL getCurrentTarget() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual PhaseType SAL_CALL getEventPhase() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Bool SAL_CALL getBubbles() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Bool SAL_CALL getCancelable() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual com::sun::star::util::Time SAL_CALL getTimeStamp() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL stopPropagation() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL preventDefault() throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL initEvent( const OUString& eventTypeArg, sal_Bool canBubbleArg, sal_Bool cancelableArg) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; }; }} #endif diff --git a/unoxml/source/events/testlistener.hxx b/unoxml/source/events/testlistener.hxx index 3fdaba6eec9b..de77c7b64ff0 100644 --- a/unoxml/source/events/testlistener.hxx +++ b/unoxml/source/events/testlistener.hxx @@ -81,17 +81,17 @@ namespace DOM { namespace events // XServiceInfo virtual OUString SAL_CALL getImplementationName() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual Sequence< OUString > SAL_CALL getSupportedServiceNames () - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; // XEventListener - virtual void SAL_CALL initialize(const Sequence< Any >& args) throw (RuntimeException, std::exception); + virtual void SAL_CALL initialize(const Sequence< Any >& args) throw (RuntimeException, std::exception) SAL_OVERRIDE; - virtual void SAL_CALL handleEvent(const Reference< XEvent >& evt) throw (RuntimeException, std::exception); + virtual void SAL_CALL handleEvent(const Reference< XEvent >& evt) throw (RuntimeException, std::exception) SAL_OVERRIDE; }; diff --git a/unoxml/source/events/uievent.hxx b/unoxml/source/events/uievent.hxx index 934ff4ce3e38..5111c0eaac77 100644 --- a/unoxml/source/events/uievent.hxx +++ b/unoxml/source/events/uievent.hxx @@ -47,29 +47,29 @@ protected: public: explicit CUIEvent(); - virtual Reference< XAbstractView > SAL_CALL getView() throw(RuntimeException, std::exception); - virtual sal_Int32 SAL_CALL getDetail() throw(RuntimeException, std::exception); + virtual Reference< XAbstractView > SAL_CALL getView() throw(RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Int32 SAL_CALL getDetail() throw(RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL initUIEvent(const OUString& typeArg, sal_Bool canBubbleArg, sal_Bool cancelableArg, const Reference< XAbstractView >& viewArg, - sal_Int32 detailArg) throw(RuntimeException, std::exception); + sal_Int32 detailArg) throw(RuntimeException, std::exception) SAL_OVERRIDE; // delegate to CEvent, since we are inheriting from CEvent and XEvent - virtual OUString SAL_CALL getType() throw (RuntimeException, std::exception); - virtual Reference< XEventTarget > SAL_CALL getTarget() throw (RuntimeException, std::exception); - virtual Reference< XEventTarget > SAL_CALL getCurrentTarget() throw (RuntimeException, std::exception); - virtual PhaseType SAL_CALL getEventPhase() throw (RuntimeException, std::exception); - virtual sal_Bool SAL_CALL getBubbles() throw (RuntimeException, std::exception); - virtual sal_Bool SAL_CALL getCancelable() throw (RuntimeException, std::exception); - virtual com::sun::star::util::Time SAL_CALL getTimeStamp() throw (RuntimeException, std::exception); - virtual void SAL_CALL stopPropagation() throw (RuntimeException, std::exception); - virtual void SAL_CALL preventDefault() throw (RuntimeException, std::exception); + virtual OUString SAL_CALL getType() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual Reference< XEventTarget > SAL_CALL getTarget() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual Reference< XEventTarget > SAL_CALL getCurrentTarget() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual PhaseType SAL_CALL getEventPhase() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Bool SAL_CALL getBubbles() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Bool SAL_CALL getCancelable() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual com::sun::star::util::Time SAL_CALL getTimeStamp() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL stopPropagation() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL preventDefault() throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL initEvent( const OUString& eventTypeArg, sal_Bool canBubbleArg, sal_Bool cancelableArg) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; }; }} #endif diff --git a/unoxml/source/rdf/CBlankNode.cxx b/unoxml/source/rdf/CBlankNode.cxx index defd8c5a79d8..947d9b26dba4 100644 --- a/unoxml/source/rdf/CBlankNode.cxx +++ b/unoxml/source/rdf/CBlankNode.cxx @@ -42,15 +42,15 @@ public: virtual ~CBlankNode() {} // ::com::sun::star::lang::XServiceInfo: - virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception); - virtual ::sal_Bool SAL_CALL supportsService(const OUString & ServiceName) throw (css::uno::RuntimeException, std::exception); - virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception); + virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual ::sal_Bool SAL_CALL supportsService(const OUString & ServiceName) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; // ::com::sun::star::lang::XInitialization: - virtual void SAL_CALL initialize(const css::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception, std::exception); + virtual void SAL_CALL initialize(const css::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception, std::exception) SAL_OVERRIDE; // ::com::sun::star::rdf::XNode: - virtual OUString SAL_CALL getStringValue() throw (css::uno::RuntimeException, std::exception); + virtual OUString SAL_CALL getStringValue() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: CBlankNode(const CBlankNode &); // not defined diff --git a/unoxml/source/rdf/CLiteral.cxx b/unoxml/source/rdf/CLiteral.cxx index 1768536fff22..7f46530c1274 100644 --- a/unoxml/source/rdf/CLiteral.cxx +++ b/unoxml/source/rdf/CLiteral.cxx @@ -44,20 +44,20 @@ public: virtual ~CLiteral() {} // ::com::sun::star::lang::XServiceInfo: - virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception); - virtual ::sal_Bool SAL_CALL supportsService(const OUString & ServiceName) throw (css::uno::RuntimeException, std::exception); - virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception); + virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual ::sal_Bool SAL_CALL supportsService(const OUString & ServiceName) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; // ::com::sun::star::lang::XInitialization: - virtual void SAL_CALL initialize(const css::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception, std::exception); + virtual void SAL_CALL initialize(const css::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception, std::exception) SAL_OVERRIDE; // ::com::sun::star::rdf::XNode: - virtual OUString SAL_CALL getStringValue() throw (css::uno::RuntimeException, std::exception); + virtual OUString SAL_CALL getStringValue() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; // ::com::sun::star::rdf::XLiteral: - virtual OUString SAL_CALL getValue() throw (css::uno::RuntimeException, std::exception); - virtual OUString SAL_CALL getLanguage() throw (css::uno::RuntimeException, std::exception); - virtual css::uno::Reference< css::rdf::XURI > SAL_CALL getDatatype() throw (css::uno::RuntimeException, std::exception); + virtual OUString SAL_CALL getValue() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual OUString SAL_CALL getLanguage() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual css::uno::Reference< css::rdf::XURI > SAL_CALL getDatatype() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: CLiteral(const CLiteral &); // not defined diff --git a/unoxml/source/rdf/CURI.cxx b/unoxml/source/rdf/CURI.cxx index 808d8d465df8..0935b183156d 100644 --- a/unoxml/source/rdf/CURI.cxx +++ b/unoxml/source/rdf/CURI.cxx @@ -43,19 +43,19 @@ public: virtual ~CURI() {} // ::com::sun::star::lang::XServiceInfo: - virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception); - virtual ::sal_Bool SAL_CALL supportsService(const OUString & ServiceName) throw (css::uno::RuntimeException, std::exception); - virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception); + virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual ::sal_Bool SAL_CALL supportsService(const OUString & ServiceName) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; // ::com::sun::star::lang::XInitialization: - virtual void SAL_CALL initialize(const css::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception, std::exception); + virtual void SAL_CALL initialize(const css::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception, std::exception) SAL_OVERRIDE; // ::com::sun::star::rdf::XNode: - virtual OUString SAL_CALL getStringValue() throw (css::uno::RuntimeException, std::exception); + virtual OUString SAL_CALL getStringValue() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; // ::com::sun::star::rdf::XURI: - virtual OUString SAL_CALL getLocalName() throw (css::uno::RuntimeException, std::exception); - virtual OUString SAL_CALL getNamespace() throw (css::uno::RuntimeException, std::exception); + virtual OUString SAL_CALL getLocalName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual OUString SAL_CALL getNamespace() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: CURI(const CURI &); // not defined diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx index 7af8adbcd392..c255a7825e07 100644 --- a/unoxml/source/rdf/librdf_repository.cxx +++ b/unoxml/source/rdf/librdf_repository.cxx @@ -286,15 +286,15 @@ public: // ::com::sun::star::lang::XServiceInfo: virtual OUString SAL_CALL getImplementationName() - throw (uno::RuntimeException, std::exception); + throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual ::sal_Bool SAL_CALL supportsService( - const OUString & ServiceName) throw (uno::RuntimeException, std::exception); + const OUString & ServiceName) throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual uno::Sequence< OUString > SAL_CALL - getSupportedServiceNames() throw (uno::RuntimeException, std::exception); + getSupportedServiceNames() throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; // ::com::sun::star::rdf::XRepository: virtual uno::Reference< rdf::XBlankNode > SAL_CALL createBlankNode() - throw (uno::RuntimeException, std::exception); + throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual uno::Reference<rdf::XNamedGraph> SAL_CALL importGraph( ::sal_Int16 i_Format, const uno::Reference< io::XInputStream > & i_xInStream, @@ -303,7 +303,7 @@ public: throw (uno::RuntimeException, lang::IllegalArgumentException, datatransfer::UnsupportedFlavorException, container::ElementExistException, rdf::ParseException, - rdf::RepositoryException, io::IOException, std::exception); + rdf::RepositoryException, io::IOException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL exportGraph(::sal_Int16 i_Format, const uno::Reference< io::XOutputStream > & i_xOutStream, const uno::Reference< rdf::XURI > & i_xGraphName, @@ -311,38 +311,38 @@ public: throw (uno::RuntimeException, lang::IllegalArgumentException, datatransfer::UnsupportedFlavorException, container::NoSuchElementException, rdf::RepositoryException, - io::IOException, std::exception); + io::IOException, std::exception) SAL_OVERRIDE; virtual uno::Sequence< uno::Reference< rdf::XURI > > SAL_CALL - getGraphNames() throw (uno::RuntimeException, rdf::RepositoryException, std::exception); + getGraphNames() throw (uno::RuntimeException, rdf::RepositoryException, std::exception) SAL_OVERRIDE; virtual uno::Reference< rdf::XNamedGraph > SAL_CALL getGraph( const uno::Reference< rdf::XURI > & i_xGraphName) throw (uno::RuntimeException, lang::IllegalArgumentException, - rdf::RepositoryException, std::exception); + rdf::RepositoryException, std::exception) SAL_OVERRIDE; virtual uno::Reference< rdf::XNamedGraph > SAL_CALL createGraph( const uno::Reference< rdf::XURI > & i_xGraphName) throw (uno::RuntimeException, lang::IllegalArgumentException, - container::ElementExistException, rdf::RepositoryException, std::exception); + container::ElementExistException, rdf::RepositoryException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL destroyGraph( const uno::Reference< rdf::XURI > & i_xGraphName) throw (uno::RuntimeException, lang::IllegalArgumentException, - container::NoSuchElementException, rdf::RepositoryException, std::exception); + container::NoSuchElementException, rdf::RepositoryException, std::exception) SAL_OVERRIDE; virtual uno::Reference< container::XEnumeration > SAL_CALL getStatements( const uno::Reference< rdf::XResource > & i_xSubject, const uno::Reference< rdf::XURI > & i_xPredicate, const uno::Reference< rdf::XNode > & i_xObject) throw (uno::RuntimeException, - rdf::RepositoryException, std::exception); + rdf::RepositoryException, std::exception) SAL_OVERRIDE; virtual uno::Reference< rdf::XQuerySelectResult > SAL_CALL querySelect(const OUString & i_rQuery) throw (uno::RuntimeException, rdf::QueryException, - rdf::RepositoryException, std::exception); + rdf::RepositoryException, std::exception) SAL_OVERRIDE; virtual uno::Reference< container::XEnumeration > SAL_CALL queryConstruct(const OUString & i_rQuery) throw (uno::RuntimeException, rdf::QueryException, - rdf::RepositoryException, std::exception); + rdf::RepositoryException, std::exception) SAL_OVERRIDE; virtual ::sal_Bool SAL_CALL queryAsk(const OUString & i_rQuery) throw (uno::RuntimeException, rdf::QueryException, - rdf::RepositoryException, std::exception); + rdf::RepositoryException, std::exception) SAL_OVERRIDE; // ::com::sun::star::rdf::XDocumentRepository: virtual void SAL_CALL setStatementRDFa( @@ -352,27 +352,27 @@ public: const OUString & i_rRDFaContent, const uno::Reference< rdf::XURI > & i_xRDFaDatatype) throw (uno::RuntimeException, lang::IllegalArgumentException, - rdf::RepositoryException, std::exception); + rdf::RepositoryException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL removeStatementRDFa( const uno::Reference< rdf::XMetadatable > & i_xElement) throw (uno::RuntimeException, lang::IllegalArgumentException, - rdf::RepositoryException, std::exception); + rdf::RepositoryException, std::exception) SAL_OVERRIDE; virtual beans::Pair< uno::Sequence<rdf::Statement>, sal_Bool > SAL_CALL getStatementRDFa(uno::Reference< rdf::XMetadatable > const& i_xElement) throw (uno::RuntimeException, lang::IllegalArgumentException, - rdf::RepositoryException, std::exception); + rdf::RepositoryException, std::exception) SAL_OVERRIDE; virtual uno::Reference< container::XEnumeration > SAL_CALL getStatementsRDFa( const uno::Reference< rdf::XResource > & i_xSubject, const uno::Reference< rdf::XURI > & i_xPredicate, const uno::Reference< rdf::XNode > & i_xObject) throw (uno::RuntimeException, - rdf::RepositoryException, std::exception); + rdf::RepositoryException, std::exception) SAL_OVERRIDE; // ::com::sun::star::lang::XInitialization: virtual void SAL_CALL initialize( const uno::Sequence< ::com::sun::star::uno::Any > & i_rArguments) - throw (uno::RuntimeException, uno::Exception, std::exception); + throw (uno::RuntimeException, uno::Exception, std::exception) SAL_OVERRIDE; // XNamedGraph forwards --------------------------------------------- const NamedGraphMap_t::iterator clearGraph_NoLock( @@ -485,10 +485,10 @@ public: // ::com::sun::star::container::XEnumeration: virtual ::sal_Bool SAL_CALL hasMoreElements() - throw (uno::RuntimeException, std::exception); + throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual uno::Any SAL_CALL nextElement() throw (uno::RuntimeException, container::NoSuchElementException, - lang::WrappedTargetException, std::exception); + lang::WrappedTargetException, std::exception) SAL_OVERRIDE; private: // NB: this is not a weak pointer: streams _must_ be deleted before the @@ -598,14 +598,14 @@ public: // ::com::sun::star::container::XEnumeration: virtual ::sal_Bool SAL_CALL hasMoreElements() - throw (uno::RuntimeException, std::exception); + throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual uno::Any SAL_CALL nextElement() throw (uno::RuntimeException, container::NoSuchElementException, - lang::WrappedTargetException, std::exception); + lang::WrappedTargetException, std::exception) SAL_OVERRIDE; // ::com::sun::star::rdf::XQuerySelectResult: virtual uno::Sequence< OUString > SAL_CALL getBindingNames() - throw (uno::RuntimeException, std::exception); + throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; private: @@ -712,38 +712,38 @@ public: // ::com::sun::star::rdf::XNode: virtual OUString SAL_CALL getStringValue() - throw (uno::RuntimeException, std::exception); + throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; // ::com::sun::star::rdf::XURI: virtual OUString SAL_CALL getNamespace() - throw (uno::RuntimeException, std::exception); + throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual OUString SAL_CALL getLocalName() - throw (uno::RuntimeException, std::exception); + throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; // ::com::sun::star::rdf::XNamedGraph: virtual uno::Reference<rdf::XURI> SAL_CALL getName() - throw (uno::RuntimeException, std::exception); + throw (uno::RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL clear() throw (uno::RuntimeException, - container::NoSuchElementException, rdf::RepositoryException, std::exception); + container::NoSuchElementException, rdf::RepositoryException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL addStatement( const uno::Reference< rdf::XResource > & i_xSubject, const uno::Reference< rdf::XURI > & i_xPredicate, const uno::Reference< rdf::XNode > & i_xObject) throw (uno::RuntimeException, lang::IllegalArgumentException, - container::NoSuchElementException, rdf::RepositoryException, std::exception); + container::NoSuchElementException, rdf::RepositoryException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL removeStatements( const uno::Reference< rdf::XResource > & i_xSubject, const uno::Reference< rdf::XURI > & i_xPredicate, const uno::Reference< rdf::XNode > & i_xObject) throw (uno::RuntimeException, - container::NoSuchElementException, rdf::RepositoryException, std::exception); + container::NoSuchElementException, rdf::RepositoryException, std::exception) SAL_OVERRIDE; virtual uno::Reference< container::XEnumeration > SAL_CALL getStatements( const uno::Reference< rdf::XResource > & i_xSubject, const uno::Reference< rdf::XURI > & i_xPredicate, const uno::Reference< rdf::XNode > & i_xObject) throw (uno::RuntimeException, - container::NoSuchElementException, rdf::RepositoryException, std::exception); + container::NoSuchElementException, rdf::RepositoryException, std::exception) SAL_OVERRIDE; private: diff --git a/unoxml/source/xpath/nodelist.hxx b/unoxml/source/xpath/nodelist.hxx index a9923a10421a..d46bd4ef4cad 100644 --- a/unoxml/source/xpath/nodelist.hxx +++ b/unoxml/source/xpath/nodelist.hxx @@ -64,12 +64,12 @@ namespace XPath /** The number of nodes in the list. */ - virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception); + virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Returns the indexth item in the collection. */ virtual Reference< XNode > SAL_CALL item(sal_Int32 index) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; }; } diff --git a/unoxml/source/xpath/xpathapi.hxx b/unoxml/source/xpath/xpathapi.hxx index 7e69568d402a..60cbeeb5ea76 100644 --- a/unoxml/source/xpath/xpathapi.hxx +++ b/unoxml/source/xpath/xpathapi.hxx @@ -89,53 +89,53 @@ namespace XPath // XServiceInfo virtual OUString SAL_CALL getImplementationName() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual Sequence< OUString > SAL_CALL getSupportedServiceNames () - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; // --- XXPathAPI --- virtual void SAL_CALL registerNS(const OUString& aPrefix, const OUString& aURI) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; virtual void SAL_CALL unregisterNS(const OUString& aPrefix, const OUString& aURI) - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** Use an XPath string to select a nodelist. */ virtual Reference< XNodeList > SAL_CALL selectNodeList(const Reference< XNode >& contextNode, const OUString& str) - throw (RuntimeException, XPathException, std::exception); + throw (RuntimeException, XPathException, std::exception) SAL_OVERRIDE; /** Use an XPath string to select a nodelist. */ virtual Reference< XNodeList > SAL_CALL selectNodeListNS(const Reference< XNode >& contextNode, const OUString& str, const Reference< XNode >& namespaceNode) - throw (RuntimeException, XPathException, std::exception); + throw (RuntimeException, XPathException, std::exception) SAL_OVERRIDE; /** Use an XPath string to select a single node. */ virtual Reference< XNode > SAL_CALL selectSingleNode(const Reference< XNode >& contextNode, const OUString& str) - throw (RuntimeException, XPathException, std::exception); + throw (RuntimeException, XPathException, std::exception) SAL_OVERRIDE; /** Use an XPath string to select a single node. */ virtual Reference< XNode > SAL_CALL selectSingleNodeNS(const Reference< XNode >& contextNode, const OUString& str, const Reference< XNode >& namespaceNode) - throw (RuntimeException, XPathException, std::exception); + throw (RuntimeException, XPathException, std::exception) SAL_OVERRIDE; virtual Reference< XXPathObject > SAL_CALL eval(const Reference< XNode >& contextNode, const OUString& str) - throw (RuntimeException, XPathException, std::exception); + throw (RuntimeException, XPathException, std::exception) SAL_OVERRIDE; virtual Reference< XXPathObject > SAL_CALL evalNS(const Reference< XNode >& contextNode, const OUString& str, const Reference< XNode >& namespaceNode) - throw (RuntimeException, XPathException, std::exception); + throw (RuntimeException, XPathException, std::exception) SAL_OVERRIDE; - virtual void SAL_CALL registerExtension(const OUString& aName) throw (RuntimeException, std::exception); - virtual void SAL_CALL registerExtensionInstance(const Reference< XXPathExtension>& aExtension) throw (RuntimeException, std::exception); + virtual void SAL_CALL registerExtension(const OUString& aName) throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL registerExtensionInstance(const Reference< XXPathExtension>& aExtension) throw (RuntimeException, std::exception) SAL_OVERRIDE; }; } diff --git a/unoxml/source/xpath/xpathobject.hxx b/unoxml/source/xpath/xpathobject.hxx index ea9d78a7bc78..6634d229eca4 100644 --- a/unoxml/source/xpath/xpathobject.hxx +++ b/unoxml/source/xpath/xpathobject.hxx @@ -61,53 +61,53 @@ namespace XPath /** get object type */ - virtual XPathObjectType SAL_CALL getObjectType() throw (RuntimeException, std::exception); + virtual XPathObjectType SAL_CALL getObjectType() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** get the nodes from a nodelist type object */ virtual Reference< XNodeList > SAL_CALL getNodeList() - throw (RuntimeException, std::exception); + throw (RuntimeException, std::exception) SAL_OVERRIDE; /** get value of a boolean object */ - virtual sal_Bool SAL_CALL getBoolean() throw (RuntimeException, std::exception); + virtual sal_Bool SAL_CALL getBoolean() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** get number as byte */ - virtual sal_Int8 SAL_CALL getByte() throw (RuntimeException, std::exception); + virtual sal_Int8 SAL_CALL getByte() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** get number as short */ - virtual sal_Int16 SAL_CALL getShort() throw (RuntimeException, std::exception); + virtual sal_Int16 SAL_CALL getShort() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** get number as long */ - virtual sal_Int32 SAL_CALL getLong() throw (RuntimeException, std::exception); + virtual sal_Int32 SAL_CALL getLong() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** get number as hyper */ - virtual sal_Int64 SAL_CALL getHyper() throw (RuntimeException, std::exception); + virtual sal_Int64 SAL_CALL getHyper() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** get number as float */ - virtual float SAL_CALL getFloat() throw (RuntimeException, std::exception); + virtual float SAL_CALL getFloat() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** get number as double */ - virtual double SAL_CALL getDouble() throw (RuntimeException, std::exception); + virtual double SAL_CALL getDouble() throw (RuntimeException, std::exception) SAL_OVERRIDE; /** get string value */ - virtual OUString SAL_CALL getString() throw (RuntimeException, std::exception); + virtual OUString SAL_CALL getString() throw (RuntimeException, std::exception) SAL_OVERRIDE; }; } |