diff options
Diffstat (limited to 'unoxml/source/dom/elementlist.hxx')
-rw-r--r-- | unoxml/source/dom/elementlist.hxx | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/unoxml/source/dom/elementlist.hxx b/unoxml/source/dom/elementlist.hxx index d6ce1353019a..3f44d05a0253 100644 --- a/unoxml/source/dom/elementlist.hxx +++ b/unoxml/source/dom/elementlist.hxx @@ -75,16 +75,14 @@ namespace DOM /** The number of nodes in the list. */ - virtual sal_Int32 SAL_CALL getLength() throw (css::uno::RuntimeException, std::exception) override; + virtual sal_Int32 SAL_CALL getLength() override; /** Returns the indexth item in the collection. */ - virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL item(sal_Int32 index) - throw (css::uno::RuntimeException, std::exception) override; + virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL item(sal_Int32 index) override; // XEventListener - virtual void SAL_CALL handleEvent(const css::uno::Reference< css::xml::dom::events::XEvent >& evt) - throw (css::uno::RuntimeException, std::exception) override; + virtual void SAL_CALL handleEvent(const css::uno::Reference< css::xml::dom::events::XEvent >& evt) override; }; class CElementList @@ -101,22 +99,20 @@ namespace DOM /** The number of nodes in the list. */ - virtual sal_Int32 SAL_CALL getLength() throw (css::uno::RuntimeException, std::exception) override + virtual sal_Int32 SAL_CALL getLength() override { return m_xImpl->getLength(); } /** Returns the indexth item in the collection. */ - virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL item(sal_Int32 index) - throw (css::uno::RuntimeException, std::exception) override + virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL item(sal_Int32 index) override { return m_xImpl->item(index); } // XEventListener - virtual void SAL_CALL handleEvent(const css::uno::Reference< css::xml::dom::events::XEvent >& evt) - throw (css::uno::RuntimeException, std::exception) override + virtual void SAL_CALL handleEvent(const css::uno::Reference< css::xml::dom::events::XEvent >& evt) override { m_xImpl->handleEvent(evt); } |