From b9b36572d95b1a1583ff352631cf4a89d6dd8227 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Sat, 26 Feb 2011 22:39:23 +0100 Subject: Remove "using namespace ::rtl" --- xmloff/source/core/facreg.cxx | 3 ++- xmloff/source/core/i18nmap.cxx | 2 +- xmloff/source/core/xmlcnitm.cxx | 3 ++- xmloff/source/core/xmltkmap.cxx | 3 ++- xmloff/source/draw/XMLNumberStyles.cxx | 3 ++- xmloff/source/draw/viewcontext.cxx | 3 ++- xmloff/source/style/impastp1.cxx | 2 +- xmloff/source/style/impastp2.cxx | 4 +++- xmloff/source/style/impastp3.cxx | 3 ++- 9 files changed, 17 insertions(+), 9 deletions(-) (limited to 'xmloff') 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 #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 #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 #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 #include -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& ) : 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 #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 using namespace std; -using namespace rtl; + +using ::rtl::OUString; //############################################################################# // -- cgit