summaryrefslogtreecommitdiffstats
path: root/unoxml/source/dom/attributesmap.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/source/dom/attributesmap.hxx')
-rw-r--r--unoxml/source/dom/attributesmap.hxx40
1 files changed, 18 insertions, 22 deletions
diff --git a/unoxml/source/dom/attributesmap.hxx b/unoxml/source/dom/attributesmap.hxx
index 94449df979e3..d49a39f54552 100644
--- a/unoxml/source/dom/attributesmap.hxx
+++ b/unoxml/source/dom/attributesmap.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 CElement;
class CAttributesMap
- : public cppu::WeakImplHelper1< XNamedNodeMap >
+ : public cppu::WeakImplHelper1< css::xml::dom::XNamedNodeMap >
{
private:
::rtl::Reference<CElement> const m_pElement;
@@ -51,54 +47,54 @@ 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(OUString const& name)
- throw (RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL getNamedItem(OUString const& 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
+ virtual css::uno::Reference< css::xml::dom::XNode > SAL_CALL
removeNamedItem(OUString const& name)
- throw (DOMException, RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (css::xml::dom::DOMException, 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 (DOMException, RuntimeException, std::exception) SAL_OVERRIDE;
+ throw (css::xml::dom::DOMException, 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 (DOMException, 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::xml::dom::DOMException, 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 (DOMException, 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::xml::dom::DOMException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};
}