summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sal/qa/OStringBuffer/rtl_OStringBuffer.cxx4
-rw-r--r--sal/qa/OStringBuffer/rtl_String_Utils.cxx3
-rw-r--r--sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx6
-rw-r--r--sal/qa/rtl/process/rtl_Process.cxx5
-rw-r--r--sal/qa/rtl/uuid/rtl_Uuid.cxx5
-rw-r--r--sal/qa/rtl_strings/rtl_OString.cxx3
-rw-r--r--sal/qa/rtl_strings/rtl_OUString.cxx4
-rw-r--r--sal/qa/rtl_strings/rtl_OUStringBuffer.cxx4
-rw-r--r--sal/qa/rtl_strings/rtl_String_Utils.cxx3
-rw-r--r--sal/qa/rtl_strings/rtl_old_testostring.cxx5
-rw-r--r--sal/qa/rtl_strings/rtl_old_testowstring.cxx5
-rw-r--r--sal/qa/rtl_strings/rtl_old_teststrbuf.cxx6
12 files changed, 29 insertions, 24 deletions
diff --git a/sal/qa/OStringBuffer/rtl_OStringBuffer.cxx b/sal/qa/OStringBuffer/rtl_OStringBuffer.cxx
index 8beb523ccdf6..fb49c34af41a 100644
--- a/sal/qa/OStringBuffer/rtl_OStringBuffer.cxx
+++ b/sal/qa/OStringBuffer/rtl_OStringBuffer.cxx
@@ -40,8 +40,8 @@
#include "cppunit/plugin/TestPlugIn.h"
#include <string.h>
-using namespace rtl;
-
+using ::rtl::OStringBuffer;
+using ::rtl::OString;
// This file contains cppunit tests for the
// OString and OStringBuffer classes
diff --git a/sal/qa/OStringBuffer/rtl_String_Utils.cxx b/sal/qa/OStringBuffer/rtl_String_Utils.cxx
index c7809e574744..06764b177e27 100644
--- a/sal/qa/OStringBuffer/rtl_String_Utils.cxx
+++ b/sal/qa/OStringBuffer/rtl_String_Utils.cxx
@@ -48,8 +48,7 @@
#include <rtl_String_Utils_Const.h>
#endif
-using namespace rtl;
-
+using ::rtl::OString;
sal_uInt32 AStringLen( const sal_Char *pAStr )
{
sal_uInt32 nStrLen = 0;
diff --git a/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx b/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx
index 90f4b0c79259..e10c75f1a020 100644
--- a/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx
+++ b/sal/qa/rtl/bootstrap/rtl_Bootstrap.cxx
@@ -51,8 +51,10 @@
#include <osl/thread.hxx>
-using namespace rtl;
-
+using ::rtl::OUString;
+using ::rtl::OUStringBuffer;
+using ::rtl::OUStringToOString;
+using ::rtl::OString;
#define TESTSHL2_INI "testshl2"
#define PSEUDO_INI "pseudo"
diff --git a/sal/qa/rtl/process/rtl_Process.cxx b/sal/qa/rtl/process/rtl_Process.cxx
index c69436467427..a8e95d199d1c 100644
--- a/sal/qa/rtl/process/rtl_Process.cxx
+++ b/sal/qa/rtl/process/rtl_Process.cxx
@@ -44,7 +44,10 @@
#include "rtl_Process_Const.h"
using namespace osl;
-using namespace rtl;
+
+using ::rtl::OUString;
+using ::rtl::OString;
+using ::rtl::OUStringToOString;
/** print a UNI_CODE String. And also print some comments of the string.
*/
diff --git a/sal/qa/rtl/uuid/rtl_Uuid.cxx b/sal/qa/rtl/uuid/rtl_Uuid.cxx
index 2b85e5d6fe06..18d032dc1d20 100644
--- a/sal/qa/rtl/uuid/rtl_Uuid.cxx
+++ b/sal/qa/rtl/uuid/rtl_Uuid.cxx
@@ -42,8 +42,9 @@
#include <time.h>
#endif
-using namespace rtl;
-
+using ::rtl::OUString;
+using ::rtl::OUStringToOString;
+using ::rtl::OString;
/** print a UNI_CODE String. And also print some comments of the string.
*/
inline void printUString( const ::rtl::OUString & str, const sal_Char * msg = "" )
diff --git a/sal/qa/rtl_strings/rtl_OString.cxx b/sal/qa/rtl_strings/rtl_OString.cxx
index e4eabfca434a..b72197e45963 100644
--- a/sal/qa/rtl_strings/rtl_OString.cxx
+++ b/sal/qa/rtl_strings/rtl_OString.cxx
@@ -49,8 +49,7 @@
#endif
#include <rtl/ustring.h>
-using namespace rtl;
-
+using ::rtl::OString;
//------------------------------------------------------------------------
// test classes
//------------------------------------------------------------------------
diff --git a/sal/qa/rtl_strings/rtl_OUString.cxx b/sal/qa/rtl_strings/rtl_OUString.cxx
index bb00fd3e5544..b585c04efa05 100644
--- a/sal/qa/rtl_strings/rtl_OUString.cxx
+++ b/sal/qa/rtl_strings/rtl_OUString.cxx
@@ -42,8 +42,8 @@
#include <rtl_String_Utils.hxx>
-
- using namespace rtl;
+using ::rtl::OUString;
+using ::rtl::OString;
//------------------------------------------------------------------------
// test classes
diff --git a/sal/qa/rtl_strings/rtl_OUStringBuffer.cxx b/sal/qa/rtl_strings/rtl_OUStringBuffer.cxx
index 17a364744745..73403d150177 100644
--- a/sal/qa/rtl_strings/rtl_OUStringBuffer.cxx
+++ b/sal/qa/rtl_strings/rtl_OUStringBuffer.cxx
@@ -68,7 +68,9 @@
#endif
#include "stdio.h"
-using namespace rtl;
+
+using ::rtl::OUString;
+using ::rtl::OUStringBuffer;
//------------------------------------------------------------------------
// test classes
diff --git a/sal/qa/rtl_strings/rtl_String_Utils.cxx b/sal/qa/rtl_strings/rtl_String_Utils.cxx
index 2b0d3c5ba3fa..9f882f796a7c 100644
--- a/sal/qa/rtl_strings/rtl_String_Utils.cxx
+++ b/sal/qa/rtl_strings/rtl_String_Utils.cxx
@@ -48,8 +48,7 @@
#include <rtl_String_Utils_Const.h>
#endif
-using namespace rtl;
-
+using ::rtl::OString;
sal_uInt32 AStringLen( const sal_Char *pAStr )
{
sal_uInt32 nStrLen = 0;
diff --git a/sal/qa/rtl_strings/rtl_old_testostring.cxx b/sal/qa/rtl_strings/rtl_old_testostring.cxx
index 53668061173b..6f7ce6fb0b58 100644
--- a/sal/qa/rtl_strings/rtl_old_testostring.cxx
+++ b/sal/qa/rtl_strings/rtl_old_testostring.cxx
@@ -41,10 +41,7 @@
#include <testshl/simpleheader.hxx>
#define TEST_ENSURE(c, m) CPPUNIT_ASSERT_MESSAGE((m), (c))
-
-
-using namespace rtl;
-
+using ::rtl::OString;
namespace rtl_OString
{
class oldtests : public CppUnit::TestFixture
diff --git a/sal/qa/rtl_strings/rtl_old_testowstring.cxx b/sal/qa/rtl_strings/rtl_old_testowstring.cxx
index 63778adb9112..b16fcf254e08 100644
--- a/sal/qa/rtl_strings/rtl_old_testowstring.cxx
+++ b/sal/qa/rtl_strings/rtl_old_testowstring.cxx
@@ -53,8 +53,9 @@
#define TEST_ENSURE(c, m) CPPUNIT_ASSERT_MESSAGE((m), (c))
-
-using namespace rtl;
+using ::rtl::OUString;
+using ::rtl::OUStringToOString;
+using ::rtl::OStringToOUString;
namespace rtl_OUString
{
diff --git a/sal/qa/rtl_strings/rtl_old_teststrbuf.cxx b/sal/qa/rtl_strings/rtl_old_teststrbuf.cxx
index 6f21cf655cac..0ed2c39e70d1 100644
--- a/sal/qa/rtl_strings/rtl_old_teststrbuf.cxx
+++ b/sal/qa/rtl_strings/rtl_old_teststrbuf.cxx
@@ -42,8 +42,10 @@
#include <testshl/simpleheader.hxx>
-using namespace rtl;
-
+using ::rtl::OUString;
+using ::rtl::OString;
+using ::rtl::OUStringBuffer;
+using ::rtl::OStringBuffer;
#define TEST_ENSURE(c, m) CPPUNIT_ASSERT_MESSAGE((m), (c))