summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-03-02 22:24:11 +0100
committerJulien Nabet <serval2412@yahoo.fr>2011-03-02 22:24:11 +0100
commite01b7bf23a872c641936f3a0752edba69914c34d (patch)
tree6dc73bc6155a56a4244ff14d1bde98c1c19a35d3 /sal
parent389bc73b5f34399fa8c11c891755238a3417af50 (diff)
Remove "using namespace ::rtl"
Diffstat (limited to 'sal')
-rw-r--r--sal/qa/osl/module/osl_Module.cxx5
-rw-r--r--sal/qa/osl/pipe/osl_Pipe.cxx5
-rw-r--r--sal/qa/osl/process/osl_Thread.cxx3
-rw-r--r--sal/qa/osl/process/osl_process.cxx5
-rw-r--r--sal/qa/osl/socket/osl_Socket.cxx5
-rw-r--r--sal/rtl/source/logfile.cxx4
6 files changed, 20 insertions, 7 deletions
diff --git a/sal/qa/osl/module/osl_Module.cxx b/sal/qa/osl/module/osl_Module.cxx
index 3e829e4f2214..dc8f562a1f86 100644
--- a/sal/qa/osl/module/osl_Module.cxx
+++ b/sal/qa/osl/module/osl_Module.cxx
@@ -35,9 +35,10 @@
#include <osl_Module_Const.h>
using namespace osl;
-using namespace rtl;
-
+using ::rtl::OUString;
+using ::rtl::OUStringToOString;
+using ::rtl::OString;
//------------------------------------------------------------------------
// helper functions and classes
//------------------------------------------------------------------------
diff --git a/sal/qa/osl/pipe/osl_Pipe.cxx b/sal/qa/osl/pipe/osl_Pipe.cxx
index 0304b00da133..6edf247e5061 100644
--- a/sal/qa/osl/pipe/osl_Pipe.cxx
+++ b/sal/qa/osl/pipe/osl_Pipe.cxx
@@ -53,7 +53,10 @@
#include <string.h>
using namespace osl;
-using namespace rtl;
+
+using ::rtl::OUString;
+using ::rtl::OUStringToOString;
+using ::rtl::OString;
//------------------------------------------------------------------------
// helper functions
diff --git a/sal/qa/osl/process/osl_Thread.cxx b/sal/qa/osl/process/osl_Thread.cxx
index ec4bd7b8d524..724cdbef2e10 100644
--- a/sal/qa/osl/process/osl_Thread.cxx
+++ b/sal/qa/osl/process/osl_Thread.cxx
@@ -60,7 +60,8 @@
#define t_print printf
using namespace osl;
-using namespace rtl;
+
+using ::rtl::OString;
// -----------------------------------------------------------------------------
// Kleine Stopuhr
diff --git a/sal/qa/osl/process/osl_process.cxx b/sal/qa/osl/process/osl_process.cxx
index 68f16c1a2ecd..649ad62a21d3 100644
--- a/sal/qa/osl/process/osl_process.cxx
+++ b/sal/qa/osl/process/osl_process.cxx
@@ -87,7 +87,10 @@ std::string OUString_to_std_string(const rtl::OUString& oustr)
//########################################
using namespace osl;
-using namespace rtl;
+
+using ::rtl::OUString;
+using ::rtl::OUStringToOString;
+using ::rtl::OString;
/** print a UNI_CODE String.
*/
diff --git a/sal/qa/osl/socket/osl_Socket.cxx b/sal/qa/osl/socket/osl_Socket.cxx
index c3505fad72e8..730db003df3d 100644
--- a/sal/qa/osl/socket/osl_Socket.cxx
+++ b/sal/qa/osl/socket/osl_Socket.cxx
@@ -65,7 +65,10 @@
#include <testshl/simpleheader.hxx>
using namespace osl;
-using namespace rtl;
+
+using ::rtl::OUString;
+using ::rtl::OUStringToOString;
+using ::rtl::OString;
//------------------------------------------------------------------------
// helper functions
diff --git a/sal/rtl/source/logfile.cxx b/sal/rtl/source/logfile.cxx
index ff7e6899f1ff..0e0f5e4b4063 100644
--- a/sal/rtl/source/logfile.cxx
+++ b/sal/rtl/source/logfile.cxx
@@ -50,10 +50,12 @@
#define vsnprintf _vsnprintf
#endif
-using namespace rtl;
using namespace osl;
using namespace std;
+using ::rtl::OUString;
+using ::rtl::OUStringBuffer;
+
namespace {
static oslFileHandle g_aFile = 0;