diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-05-18 16:25:53 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-05-18 17:11:24 +0200 |
commit | 3278565556067782a3499f6bc75a25a4796d8b29 (patch) | |
tree | 1067b5453b9207b172716958a91768b66cd7f08c /writerfilter/source/ooxml/OOXMLFastHelper.hxx | |
parent | ff3d44d727d6d34a88e5b53f4b784aa0ac698653 (diff) |
writerfilter: drop remaining non-css global 'using' from headers
Change-Id: I70e5e276a084d951d73879aa2aa4f19e9d2d32f8
Diffstat (limited to 'writerfilter/source/ooxml/OOXMLFastHelper.hxx')
-rw-r--r-- | writerfilter/source/ooxml/OOXMLFastHelper.hxx | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/writerfilter/source/ooxml/OOXMLFastHelper.hxx b/writerfilter/source/ooxml/OOXMLFastHelper.hxx index 429b508a5242..2f10ff7760ae 100644 --- a/writerfilter/source/ooxml/OOXMLFastHelper.hxx +++ b/writerfilter/source/ooxml/OOXMLFastHelper.hxx @@ -27,23 +27,20 @@ namespace writerfilter { namespace ooxml { -using namespace ::std; -using namespace ::com::sun::star; -using namespace ::com::sun::star::xml::sax; template <class T> class OOXMLFastHelper { public: - static uno::Reference<XFastContextHandler> createAndSetParent + static css::uno::Reference<css::xml::sax::XFastContextHandler> createAndSetParent (OOXMLFastContextHandler * pHandler, sal_uInt32 nToken, Id nId); - static uno::Reference<XFastContextHandler> createAndSetParentAndDefine + static css::uno::Reference<css::xml::sax::XFastContextHandler> createAndSetParentAndDefine (OOXMLFastContextHandler * pHandler, sal_uInt32 nToken, Id nId, Id nDefine); - static uno::Reference<XFastContextHandler> createAndSetParentRef + static css::uno::Reference<css::xml::sax::XFastContextHandler> createAndSetParentRef (OOXMLFastContextHandler * pHandler, sal_uInt32 nToken, - const uno::Reference < xml::sax::XFastAttributeList > & Attribs); + const css::uno::Reference < css::xml::sax::XFastAttributeList > & Attribs); static void newProperty(OOXMLFastContextHandler * pHandler, Id nId, @@ -54,11 +51,11 @@ public: static void attributes (OOXMLFastContextHandler * pContext, - const uno::Reference < xml::sax::XFastAttributeList > & Attribs); + const css::uno::Reference < css::xml::sax::XFastAttributeList > & Attribs); }; template <class T> -uno::Reference<XFastContextHandler> +uno::Reference<css::xml::sax::XFastContextHandler> OOXMLFastHelper<T>::createAndSetParent (OOXMLFastContextHandler * pHandler, sal_uInt32 nToken, Id nId) { @@ -85,13 +82,13 @@ OOXMLFastHelper<T>::createAndSetParent debug_logger->endElement("helper.createAndSetParent"); #endif - uno::Reference<XFastContextHandler> aResult(pTmp); + css::uno::Reference<css::xml::sax::XFastContextHandler> aResult(pTmp); return aResult; } template <class T> -uno::Reference<XFastContextHandler> +uno::Reference<css::xml::sax::XFastContextHandler> OOXMLFastHelper<T>::createAndSetParentAndDefine (OOXMLFastContextHandler * pHandler, sal_uInt32 nToken, Id nId, Id nDefine) { @@ -120,16 +117,16 @@ OOXMLFastHelper<T>::createAndSetParentAndDefine debug_logger->endElement("helper.createAndSetParentAndDefine"); #endif - uno::Reference<XFastContextHandler> aResult(pTmp); + css::uno::Reference<css::xml::sax::XFastContextHandler> aResult(pTmp); return aResult; } template <class T> -uno::Reference<XFastContextHandler> +uno::Reference<css::xml::sax::XFastContextHandler> OOXMLFastHelper<T>::createAndSetParentRef (OOXMLFastContextHandler * pHandler, sal_uInt32 nToken, - const uno::Reference < xml::sax::XFastAttributeList > & Attribs) + const css::uno::Reference < css::xml::sax::XFastAttributeList > & Attribs) { #ifdef DEBUG_HELPER debug_logger->startElement("helper.createAndSetParentRef"); @@ -139,7 +136,7 @@ OOXMLFastHelper<T>::createAndSetParentRef boost::shared_ptr<OOXMLFastContextHandler> pTmp(new T(pHandler)); - uno::Reference<XFastContextHandler> xChild = + css::uno::Reference<css::xml::sax::XFastContextHandler> xChild = pTmp->createFastChildContext(nToken, Attribs); if (xChild.is()) |