diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-02-26 22:39:23 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-02-26 22:39:23 +0100 |
commit | b9b36572d95b1a1583ff352631cf4a89d6dd8227 (patch) | |
tree | cddb2fcd9237bb20f0f2941d5ff8e8188cdbf828 /xmloff | |
parent | 063152696fb70c40dddb0eaf1e1a8cc9c8594362 (diff) |
Remove "using namespace ::rtl"
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/core/facreg.cxx | 3 | ||||
-rw-r--r-- | xmloff/source/core/i18nmap.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/core/xmlcnitm.cxx | 3 | ||||
-rw-r--r-- | xmloff/source/core/xmltkmap.cxx | 3 | ||||
-rw-r--r-- | xmloff/source/draw/XMLNumberStyles.cxx | 3 | ||||
-rw-r--r-- | xmloff/source/draw/viewcontext.cxx | 3 | ||||
-rw-r--r-- | xmloff/source/style/impastp1.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/style/impastp2.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/style/impastp3.cxx | 3 |
9 files changed, 17 insertions, 9 deletions
diff --git a/xmloff/source/core/facreg.cxx b/xmloff/source/core/facreg.cxx index 130c72096a7a..b786ae3f6593 100644 --- a/xmloff/source/core/facreg.cxx +++ b/xmloff/source/core/facreg.cxx @@ -43,9 +43,10 @@ #include <uno/lbnames.h> #include "xmlreg.hxx" -using namespace rtl; using namespace com::sun::star; +using ::rtl::OUString; + #define SERVICE( className ) \ extern OUString SAL_CALL className##_getImplementationName() throw(); \ extern uno::Sequence< OUString > SAL_CALL className##_getSupportedServiceNames() throw();\ diff --git a/xmloff/source/core/i18nmap.cxx b/xmloff/source/core/i18nmap.cxx index e66b95704d3d..a2f9d0623c98 100644 --- a/xmloff/source/core/i18nmap.cxx +++ b/xmloff/source/core/i18nmap.cxx @@ -33,7 +33,7 @@ #include <svl/svarray.hxx> #include "i18nmap.hxx" -using namespace rtl; +using ::rtl::OUString; class SvI18NMapEntry_Impl { diff --git a/xmloff/source/core/xmlcnitm.cxx b/xmloff/source/core/xmlcnitm.cxx index 4f34576399b0..17757339cd73 100644 --- a/xmloff/source/core/xmlcnitm.cxx +++ b/xmloff/source/core/xmlcnitm.cxx @@ -35,12 +35,13 @@ #include <xmloff/xmlcnimp.hxx> #include "unoatrcn.hxx" -using namespace rtl; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::container; using namespace ::com::sun::star::lang; using namespace ::com::sun::star::xml; +using ::rtl::OUString; + typedef ::rtl::OUString *OUStringPtr; SV_DECL_PTRARR_DEL( SvXMLAttrContainerData_Impl, OUStringPtr, 5, 5 ) SV_IMPL_PTRARR( SvXMLAttrContainerData_Impl, OUStringPtr ) diff --git a/xmloff/source/core/xmltkmap.cxx b/xmloff/source/core/xmltkmap.cxx index cb2c5a1e0fc6..b172c41e035a 100644 --- a/xmloff/source/core/xmltkmap.cxx +++ b/xmloff/source/core/xmltkmap.cxx @@ -34,9 +34,10 @@ #include <xmloff/xmltkmap.hxx> #include <xmloff/xmltoken.hxx> -using namespace rtl; using namespace ::xmloff::token; +using ::rtl::OUString; + class SvXMLTokenMapEntry_Impl { sal_uInt16 nPrefixKey; diff --git a/xmloff/source/draw/XMLNumberStyles.cxx b/xmloff/source/draw/XMLNumberStyles.cxx index 842460dd6b44..4114580183e5 100644 --- a/xmloff/source/draw/XMLNumberStyles.cxx +++ b/xmloff/source/draw/XMLNumberStyles.cxx @@ -39,9 +39,10 @@ #include "sdxmlexp_impl.hxx" #include "sdxmlimp_impl.hxx" -using namespace rtl; using namespace ::xmloff::token; +using ::rtl::OUString; + struct SdXMLDataStyleNumber { enum XMLTokenEnum meNumberStyle; diff --git a/xmloff/source/draw/viewcontext.cxx b/xmloff/source/draw/viewcontext.cxx index 9a0ca7e3dbce..9cb21b0b03ec 100644 --- a/xmloff/source/draw/viewcontext.cxx +++ b/xmloff/source/draw/viewcontext.cxx @@ -36,11 +36,12 @@ #include "VisAreaContext.hxx" using namespace com::sun::star; -using namespace rtl; using ::xmloff::token::IsXMLToken; using ::xmloff::token::XML_EMBEDDED_VISIBLE_AREA; +using ::rtl::OUString; + //------------------------------------------------------------------ SdXMLViewSettingsContext::SdXMLViewSettingsContext( SdXMLImport& rImport, USHORT nPrfx, const OUString& rLName, const uno::Reference<xml::sax::XAttributeList>& ) : diff --git a/xmloff/source/style/impastp1.cxx b/xmloff/source/style/impastp1.cxx index 20e246433f6e..8cfdcb3d994a 100644 --- a/xmloff/source/style/impastp1.cxx +++ b/xmloff/source/style/impastp1.cxx @@ -31,7 +31,7 @@ #include <tools/debug.hxx> #include "impastpl.hxx" -using namespace rtl; +using ::rtl::OUString; //############################################################################# // diff --git a/xmloff/source/style/impastp2.cxx b/xmloff/source/style/impastp2.cxx index b110a18f275a..d152fe0c70bb 100644 --- a/xmloff/source/style/impastp2.cxx +++ b/xmloff/source/style/impastp2.cxx @@ -32,7 +32,9 @@ #include "impastpl.hxx" using namespace std; -using namespace rtl; + +using ::rtl::OUString; +using ::rtl::OUStringBuffer; //############################################################################# // diff --git a/xmloff/source/style/impastp3.cxx b/xmloff/source/style/impastp3.cxx index 07aa28f415f5..0c51db505b17 100644 --- a/xmloff/source/style/impastp3.cxx +++ b/xmloff/source/style/impastp3.cxx @@ -32,7 +32,8 @@ #include <xmloff/xmlprmap.hxx> using namespace std; -using namespace rtl; + +using ::rtl::OUString; //############################################################################# // |