diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2014-05-19 02:53:04 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2014-05-19 20:04:25 +0200 |
commit | 1aae91fb3b562fb42453405daeef1c8852addb20 (patch) | |
tree | 859f6a77d720b0a2fcf64c2f0331a9e319f55556 /lotuswordpro | |
parent | 60b21e85a0c86aefdacd3b73665fda4ebd429b22 (diff) |
lwp: remove using namespace css from headers
Change-Id: I0461ef7af824e1fda04135154682fc4dba8a8693
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwpfilter.cxx | 3 | ||||
-rw-r--r-- | lotuswordpro/source/filter/lwpunoheader.hxx | 10 | ||||
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfsaxattrlist.hxx | 9 | ||||
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfsaxstream.hxx | 14 |
4 files changed, 6 insertions, 30 deletions
diff --git a/lotuswordpro/source/filter/lwpfilter.cxx b/lotuswordpro/source/filter/lwpfilter.cxx index 30ca558c1671..e4d7606e5534 100644 --- a/lotuswordpro/source/filter/lwpfilter.cxx +++ b/lotuswordpro/source/filter/lwpfilter.cxx @@ -89,7 +89,6 @@ using namespace ::com::sun::star::io; using namespace ::com::sun::star::registry; using namespace ::com::sun::star::document; using namespace ::com::sun::star::beans; -using namespace ::com::sun::star::xml::sax; using namespace ::com::sun::star; using ::com::sun::star::uno::Sequence; @@ -178,7 +177,7 @@ using namespace OpenStormBento; } return bCompressed; } -int ReadWordproFile(SvStream &rStream, uno::Reference<XDocumentHandler>& xHandler) +int ReadWordproFile(SvStream &rStream, uno::Reference<css::xml::sax::XDocumentHandler>& xHandler) { try { diff --git a/lotuswordpro/source/filter/lwpunoheader.hxx b/lotuswordpro/source/filter/lwpunoheader.hxx index ccbc2cf73cfb..60230c6f9352 100644 --- a/lotuswordpro/source/filter/lwpunoheader.hxx +++ b/lotuswordpro/source/filter/lwpunoheader.hxx @@ -74,14 +74,4 @@ #include "xfilter/xfglobal.hxx" -using namespace ::rtl; -using namespace ::cppu; -using namespace ::com::sun::star::lang; -using namespace ::com::sun::star::io; -using namespace ::com::sun::star::registry; -using namespace ::com::sun::star::document; -using namespace ::com::sun::star::beans; -using namespace ::com::sun::star::xml::sax; -using namespace ::com::sun::star::uno; - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/lotuswordpro/source/filter/xfilter/xfsaxattrlist.hxx b/lotuswordpro/source/filter/xfilter/xfsaxattrlist.hxx index defe6f399f52..fa218a905820 100644 --- a/lotuswordpro/source/filter/xfilter/xfsaxattrlist.hxx +++ b/lotuswordpro/source/filter/xfilter/xfsaxattrlist.hxx @@ -64,9 +64,6 @@ #include "xmloff/attrlist.hxx" #include <com/sun/star/xml/sax/XDocumentHandler.hpp> -using namespace ::com::sun::star::uno; -using namespace ::com::sun::star::xml::sax; - class XFSaxAttrList : public IXFAttrList { public: @@ -80,16 +77,16 @@ public: virtual void Clear() SAL_OVERRIDE; - Reference<XAttributeList> GetAttributeList() const; + css::uno::Reference<css::xml::sax::XAttributeList> GetAttributeList() const; friend class XFSaxStream; private: SvXMLAttributeList *m_pSvAttrList; - Reference<XAttributeList> m_xAttrList; + css::uno::Reference<css::xml::sax::XAttributeList> m_xAttrList; }; -inline Reference<XAttributeList> XFSaxAttrList::GetAttributeList() const +inline css::uno::Reference<css::xml::sax::XAttributeList> XFSaxAttrList::GetAttributeList() const { return m_xAttrList; } diff --git a/lotuswordpro/source/filter/xfilter/xfsaxstream.hxx b/lotuswordpro/source/filter/xfilter/xfsaxstream.hxx index 7ccfb87f3de8..64c60206c730 100644 --- a/lotuswordpro/source/filter/xfilter/xfsaxstream.hxx +++ b/lotuswordpro/source/filter/xfilter/xfsaxstream.hxx @@ -71,16 +71,6 @@ #include <com/sun/star/lang/XServiceInfo.hpp> #include <com/sun/star/io/XInputStream.hpp> -using namespace ::rtl; -using namespace ::cppu; -using namespace ::com::sun::star::lang; -using namespace ::com::sun::star::io; -using namespace ::com::sun::star::registry; -using namespace ::com::sun::star::document; -using namespace ::com::sun::star::beans; -using namespace ::com::sun::star::xml::sax; -using namespace ::com::sun::star::uno; - class XFSaxAttrList; class IXFAttrList; @@ -91,7 +81,7 @@ class IXFAttrList; class XFSaxStream : public IXFStream { public: - XFSaxStream(Reference<XDocumentHandler>& xHandler); + XFSaxStream(css::uno::Reference<css::xml::sax::XDocumentHandler>& xHandler); virtual ~XFSaxStream(); @@ -127,7 +117,7 @@ public: virtual IXFAttrList* GetAttrList() SAL_OVERRIDE; public: - Reference<XDocumentHandler> m_aHandler; + css::uno::Reference<css::xml::sax::XDocumentHandler> m_aHandler; XFSaxAttrList *m_pAttrList; }; |