diff options
Diffstat (limited to 'unoxml/source/dom/entitiesmap.hxx')
-rw-r--r-- | unoxml/source/dom/entitiesmap.hxx | 40 |
1 files changed, 18 insertions, 22 deletions
diff --git a/unoxml/source/dom/entitiesmap.hxx b/unoxml/source/dom/entitiesmap.hxx index 75d9235569bd..fc7164c0ca2c 100644 --- a/unoxml/source/dom/entitiesmap.hxx +++ b/unoxml/source/dom/entitiesmap.hxx @@ -29,16 +29,12 @@ #include <cppuhelper/implbase1.hxx> - -using namespace com::sun::star::uno; -using namespace com::sun::star::xml::dom; - namespace DOM { class CDocumentType; class CEntitiesMap - : public cppu::WeakImplHelper1< XNamedNodeMap > + : public cppu::WeakImplHelper1< css::xml::dom::XNamedNodeMap > { private: ::rtl::Reference<CDocumentType> const m_pDocType; @@ -49,53 +45,53 @@ namespace DOM /** The number of nodes in this map. */ - virtual sal_Int32 SAL_CALL getLength() throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual sal_Int32 SAL_CALL getLength() throw (css::uno::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) SAL_OVERRIDE; + virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL + getNamedItem(const OUString& name) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** Retrieves a node specified by local name and namespace URI. */ - virtual Reference< XNode > SAL_CALL getNamedItemNS( + virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL getNamedItemNS( OUString const& namespaceURI, OUString const& localName) - throw (RuntimeException, std::exception) SAL_OVERRIDE; + throw (css::uno::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) SAL_OVERRIDE; + virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL + item(sal_Int32 index) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** Removes a node specified by name. */ - virtual Reference< XNode > SAL_CALL - removeNamedItem(OUString const& name) throw (RuntimeException, std::exception) SAL_OVERRIDE; + virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL + removeNamedItem(OUString const& name) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; /** // Removes a node specified by local name and namespace URI. */ - virtual Reference< XNode > SAL_CALL removeNamedItemNS( + virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL removeNamedItemNS( OUString const& namespaceURI, OUString const& localName) - throw (RuntimeException, std::exception) SAL_OVERRIDE; + throw (css::uno::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) SAL_OVERRIDE; + virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL + setNamedItem(css::uno::Reference< css::xml::dom::XNode > const& arg) + throw (css::uno::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) SAL_OVERRIDE; + virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL + setNamedItemNS(css::uno::Reference< css::xml::dom::XNode > const& arg) + throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; }; } |