summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-02-27 18:47:31 +0100
committerJulien Nabet <serval2412@yahoo.fr>2011-02-27 18:47:31 +0100
commitbe3f37dc72b530c36548aee29b2ea7924232cbfc (patch)
treeb319485ac13ec7ca5a4178bedc958ab903c23932
parentda84e4dc931f17f87f26affcbe90681f3061b560 (diff)
Remove "using namespace ::rtl"
-rw-r--r--unotools/source/config/accelcfg.cxx3
-rw-r--r--unotools/source/config/configmgr.cxx3
-rw-r--r--unotools/source/config/defaultoptions.cxx3
-rw-r--r--unotools/source/config/fltrcfg.cxx3
-rw-r--r--unotools/source/config/fontcfg.cxx3
-rw-r--r--unotools/source/config/lingucfg.cxx4
-rw-r--r--unotools/source/config/misccfg.cxx3
-rw-r--r--unotools/source/config/optionsdlg.cxx3
-rw-r--r--unotools/source/config/pathoptions.cxx5
-rw-r--r--unotools/source/config/saveopt.cxx4
-rw-r--r--unotools/source/config/searchopt.cxx3
-rw-r--r--unotools/source/config/sourceviewconfig.cxx4
-rw-r--r--unotools/source/config/syslocaleoptions.cxx2
-rw-r--r--unotools/source/config/undoopt.cxx2
-rw-r--r--unotools/source/config/useroptions.cxx2
-rw-r--r--unotools/source/config/xmlaccelcfg.cxx3
-rw-r--r--unotools/source/ucbhelper/ucbhelper.cxx3
17 files changed, 36 insertions, 17 deletions
diff --git a/unotools/source/config/accelcfg.cxx b/unotools/source/config/accelcfg.cxx
index 447c5e77e437..37482ebcd67a 100644
--- a/unotools/source/config/accelcfg.cxx
+++ b/unotools/source/config/accelcfg.cxx
@@ -54,11 +54,12 @@
using namespace utl;
-using namespace rtl;
using namespace com::sun::star::uno;
using namespace com::sun::star::io;
using namespace com::sun::star::xml::sax;
+using ::rtl::OUString;
+
static SvtAcceleratorConfig_Impl* pOptions = NULL;
static sal_Int32 nRefCount = 0;
diff --git a/unotools/source/config/configmgr.cxx b/unotools/source/config/configmgr.cxx
index 16606c346985..aeea5966e0a0 100644
--- a/unotools/source/config/configmgr.cxx
+++ b/unotools/source/config/configmgr.cxx
@@ -50,12 +50,13 @@
//-----------------------------------------------------------------------------
using namespace utl;
-using namespace rtl;
using namespace com::sun::star::uno;
using namespace com::sun::star::lang;
using namespace com::sun::star::beans;
using namespace com::sun::star::container;
+using ::rtl::OUString;
+
#define UNISTRING(s) rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(s))
//-----------------------------------------------------------------------------
diff --git a/unotools/source/config/defaultoptions.cxx b/unotools/source/config/defaultoptions.cxx
index 3b49ef0f5f59..963a76a8297d 100644
--- a/unotools/source/config/defaultoptions.cxx
+++ b/unotools/source/config/defaultoptions.cxx
@@ -47,9 +47,10 @@
using namespace osl;
using namespace utl;
-using namespace rtl;
using namespace com::sun::star::uno;
+using ::rtl::OUString;
+
// define ----------------------------------------------------------------
#define ASCII_STR(s) OUString( RTL_CONSTASCII_USTRINGPARAM(s) )
diff --git a/unotools/source/config/fltrcfg.cxx b/unotools/source/config/fltrcfg.cxx
index d35723c5b18e..9b0ef5322179 100644
--- a/unotools/source/config/fltrcfg.cxx
+++ b/unotools/source/config/fltrcfg.cxx
@@ -37,9 +37,10 @@
#include <com/sun/star/uno/Sequence.hxx>
using namespace utl;
-using namespace rtl;
using namespace com::sun::star::uno;
+using ::rtl::OUString;
+
#define C2U(cChar) OUString(RTL_CONSTASCII_USTRINGPARAM(cChar))
// -----------------------------------------------------------------------
diff --git a/unotools/source/config/fontcfg.cxx b/unotools/source/config/fontcfg.cxx
index da61509cd20b..d6b39f621b87 100644
--- a/unotools/source/config/fontcfg.cxx
+++ b/unotools/source/config/fontcfg.cxx
@@ -51,13 +51,14 @@
#define DEFAULTFONT_CONFIGNODE "VCL/DefaultFonts"
#define SUBSTFONT_CONFIGNODE "VCL/FontSubstitutions"
-using namespace rtl;
using namespace utl;
using namespace com::sun::star::uno;
using namespace com::sun::star::lang;
using namespace com::sun::star::beans;
using namespace com::sun::star::container;
+using ::rtl::OUString;
+
static DefaultFontConfiguration* mpDefaultFontConfiguration = 0;
static FontSubstConfiguration* mpFontSubstConfiguration = 0;
diff --git a/unotools/source/config/lingucfg.cxx b/unotools/source/config/lingucfg.cxx
index 7fec18ba8829..853d7d156d51 100644
--- a/unotools/source/config/lingucfg.cxx
+++ b/unotools/source/config/lingucfg.cxx
@@ -51,9 +51,11 @@
#include <itemholder1.hxx>
-using namespace rtl;
using namespace com::sun::star;
+using ::rtl::OUString;
+using ::rtl::Uri;
+
#define A2OU(x) ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( x ))
#define EXPAND_PROTOCOL "vnd.sun.star.expand:"
#define FILE_PROTOCOL "file:///"
diff --git a/unotools/source/config/misccfg.cxx b/unotools/source/config/misccfg.cxx
index dfdbc95337f1..2ee1da91de96 100644
--- a/unotools/source/config/misccfg.cxx
+++ b/unotools/source/config/misccfg.cxx
@@ -46,9 +46,10 @@
#define DEF_INCH 2540L
#define DEF_RELTWIP 1440L
-using namespace rtl;
using namespace com::sun::star::uno;
+using ::rtl::OUString;
+
namespace utl
{
diff --git a/unotools/source/config/optionsdlg.cxx b/unotools/source/config/optionsdlg.cxx
index b3a5f1dc8674..c8a12c088804 100644
--- a/unotools/source/config/optionsdlg.cxx
+++ b/unotools/source/config/optionsdlg.cxx
@@ -42,10 +42,11 @@
#include "itemholder1.hxx"
using namespace utl;
-using namespace rtl;
using namespace com::sun::star::beans ;
using namespace com::sun::star::uno;
+using ::rtl::OUString;
+
#define CFG_FILENAME OUString( RTL_CONSTASCII_USTRINGPARAM( "Office.OptionsDialog" ) )
#define ROOT_NODE OUString( RTL_CONSTASCII_USTRINGPARAM( "OptionsDialogGroups" ) )
#define PAGES_NODE OUString( RTL_CONSTASCII_USTRINGPARAM( "Pages" ) )
diff --git a/unotools/source/config/pathoptions.cxx b/unotools/source/config/pathoptions.cxx
index ca0e5501cc14..135c3467da8a 100644
--- a/unotools/source/config/pathoptions.cxx
+++ b/unotools/source/config/pathoptions.cxx
@@ -59,12 +59,15 @@
using namespace osl;
using namespace utl;
-using namespace rtl;
using namespace com::sun::star::uno;
using namespace com::sun::star::beans;
using namespace com::sun::star::util;
using namespace com::sun::star::lang;
+using ::rtl::OUString;
+using ::rtl::OString;
+using ::rtl::OStringToOUString;
+
// define ----------------------------------------------------------------
#define SEARCHPATH_DELIMITER ';'
diff --git a/unotools/source/config/saveopt.cxx b/unotools/source/config/saveopt.cxx
index 8f1ee3d4bd16..3a28cbc0a8e1 100644
--- a/unotools/source/config/saveopt.cxx
+++ b/unotools/source/config/saveopt.cxx
@@ -44,8 +44,10 @@
#include "itemholder1.hxx"
using namespace utl;
-using namespace rtl;
using namespace com::sun::star::uno;
+
+using ::rtl::OUString;
+
namespace css = ::com::sun::star;
class SvtSaveOptions_Impl;
diff --git a/unotools/source/config/searchopt.cxx b/unotools/source/config/searchopt.cxx
index f7d6333afac0..9f9e5ff5e8d9 100644
--- a/unotools/source/config/searchopt.cxx
+++ b/unotools/source/config/searchopt.cxx
@@ -40,11 +40,12 @@
#include <sal/macros.h>
-using namespace rtl;
using namespace utl;
using namespace com::sun::star::uno;
using namespace com::sun::star::i18n;
+using ::rtl::OUString;
+
#define MAX_FLAGS_OFFSET 25
//////////////////////////////////////////////////////////////////////
diff --git a/unotools/source/config/sourceviewconfig.cxx b/unotools/source/config/sourceviewconfig.cxx
index 13978c99b53d..82b71fbceabb 100644
--- a/unotools/source/config/sourceviewconfig.cxx
+++ b/unotools/source/config/sourceviewconfig.cxx
@@ -38,8 +38,10 @@
#include <itemholder1.hxx>
using namespace utl;
-using namespace rtl;
using namespace com::sun::star::uno;
+
+using ::rtl::OUString;
+
namespace utl
{
class SourceViewConfig_Impl : public utl::ConfigItem
diff --git a/unotools/source/config/syslocaleoptions.cxx b/unotools/source/config/syslocaleoptions.cxx
index fdafb7228833..4e8dedc25db3 100644
--- a/unotools/source/config/syslocaleoptions.cxx
+++ b/unotools/source/config/syslocaleoptions.cxx
@@ -47,10 +47,10 @@
using namespace osl;
using namespace utl;
-using namespace rtl;
using namespace com::sun::star::uno;
using namespace com::sun::star::lang;
+using ::rtl::OUString;
SvtSysLocaleOptions_Impl* SvtSysLocaleOptions::pOptions = NULL;
sal_Int32 SvtSysLocaleOptions::nRefCount = 0;
diff --git a/unotools/source/config/undoopt.cxx b/unotools/source/config/undoopt.cxx
index 1e55eea775fe..45f296fdcbe1 100644
--- a/unotools/source/config/undoopt.cxx
+++ b/unotools/source/config/undoopt.cxx
@@ -42,8 +42,8 @@
#include "itemholder1.hxx"
using namespace utl;
-using namespace rtl;
using namespace com::sun::star::uno;
+using ::rtl::OUString;
static SvtUndoOptions_Impl* pOptions = NULL;
static sal_Int32 nRefCount = 0;
diff --git a/unotools/source/config/useroptions.cxx b/unotools/source/config/useroptions.cxx
index 098771535f96..f02795bd9a60 100644
--- a/unotools/source/config/useroptions.cxx
+++ b/unotools/source/config/useroptions.cxx
@@ -55,9 +55,9 @@
#include <unotools/loghelper.hxx>
using namespace utl;
-using namespace rtl;
using namespace com::sun::star;
using namespace com::sun::star::uno;
+using ::rtl::OUString;
namespace css = ::com::sun::star;
diff --git a/unotools/source/config/xmlaccelcfg.cxx b/unotools/source/config/xmlaccelcfg.cxx
index 6839edfd465e..fbf33a889ca5 100644
--- a/unotools/source/config/xmlaccelcfg.cxx
+++ b/unotools/source/config/xmlaccelcfg.cxx
@@ -35,10 +35,11 @@
#include <com/sun/star/xml/sax/XAttributeList.hpp>
#include <cppuhelper/implbase1.hxx>
-using namespace rtl;
using namespace com::sun::star::uno;
using namespace com::sun::star::xml::sax;
+using ::rtl::OUString;
+
#define ELEMENT_ACCELERATORLIST "acceleratorlist"
#define ELEMENT_ACCELERATORITEM "item"
diff --git a/unotools/source/ucbhelper/ucbhelper.cxx b/unotools/source/ucbhelper/ucbhelper.cxx
index d311c60921af..789fe3f6bebb 100644
--- a/unotools/source/ucbhelper/ucbhelper.cxx
+++ b/unotools/source/ucbhelper/ucbhelper.cxx
@@ -76,10 +76,11 @@ using namespace com::sun::star::sdbc;
using namespace com::sun::star::task;
using namespace com::sun::star::uno;
using namespace com::sun::star::ucb;
-using namespace rtl;
using namespace comphelper;
using namespace osl;
+using ::rtl::OUString;
+
typedef ::std::vector< OUString* > StringList_Impl;
#define CONVERT_DATETIME( aUnoDT, aToolsDT ) \