summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-02-26 22:39:23 +0100
committerJulien Nabet <serval2412@yahoo.fr>2011-02-26 22:39:23 +0100
commit6519686660d66b11cedd5fb64ada4c324f3b6b9a (patch)
tree9fff8105c4b66d37bd67f8405677cbeb83b68c44 /xmloff
parentf6aedcb21645ab898b484176dd8c2df2a91e7c36 (diff)
Remove "using namespace ::rtl"
Diffstat (limited to 'xmloff')
-rw-r--r--xmloff/source/core/facreg.cxx3
-rw-r--r--xmloff/source/core/i18nmap.cxx2
-rw-r--r--xmloff/source/core/xmlcnitm.cxx3
-rw-r--r--xmloff/source/core/xmltkmap.cxx3
-rw-r--r--xmloff/source/draw/XMLNumberStyles.cxx3
-rw-r--r--xmloff/source/draw/viewcontext.cxx3
-rw-r--r--xmloff/source/style/impastp1.cxx2
-rw-r--r--xmloff/source/style/impastp2.cxx4
-rw-r--r--xmloff/source/style/impastp3.cxx3
9 files changed, 17 insertions, 9 deletions
diff --git a/xmloff/source/core/facreg.cxx b/xmloff/source/core/facreg.cxx
index 24e861384c..5234c8dfec 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 dd75bd6ff2..225a5f1219 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 720c1fccaf..390318ad93 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 be06698d95..505937dd44 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 3289b6892d..7dce0b8940 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 a43bf17cf6..08818ebfeb 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 20e246433f..8cfdcb3d99 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 c4bc8483f7..dbeb870246 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 07aa28f415..0c51db505b 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;
//#############################################################################
//