diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-03-03 22:26:57 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-03-03 22:26:57 +0100 |
commit | 7ba51c3d250c7ba35babcab88326ed53bb78962a (patch) | |
tree | a380946f6a2981f3e0685648ce543821bc0f7a87 /sal/qa/rtl_strings | |
parent | 30b25cf3535669de5f88a8dc7c90e15ed171225f (diff) |
Remove "using namespace ::rtl"
Diffstat (limited to 'sal/qa/rtl_strings')
-rw-r--r-- | sal/qa/rtl_strings/rtl_OString.cxx | 3 | ||||
-rw-r--r-- | sal/qa/rtl_strings/rtl_OUString.cxx | 4 | ||||
-rw-r--r-- | sal/qa/rtl_strings/rtl_OUStringBuffer.cxx | 4 | ||||
-rw-r--r-- | sal/qa/rtl_strings/rtl_String_Utils.cxx | 3 | ||||
-rw-r--r-- | sal/qa/rtl_strings/rtl_old_testostring.cxx | 5 | ||||
-rw-r--r-- | sal/qa/rtl_strings/rtl_old_testowstring.cxx | 5 | ||||
-rw-r--r-- | sal/qa/rtl_strings/rtl_old_teststrbuf.cxx | 6 |
7 files changed, 15 insertions, 15 deletions
diff --git a/sal/qa/rtl_strings/rtl_OString.cxx b/sal/qa/rtl_strings/rtl_OString.cxx index 19532e550..7fdd1ef99 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 5eb38fb12..4e5dc49cc 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 988a53eee..165d30c86 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 f138c7c2d..2250d98f7 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 8b04de237..ee0e8d7d2 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 15861ddca..4afeb0425 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 a3df89aa3..9efc9971e 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)) |