diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2021-10-05 20:49:26 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-10-05 23:09:56 +0200 |
commit | 10ad9560fba562f494fa44fc8a7bd2388d9e8c5c (patch) | |
tree | 734c31a455749a7c30556a05b62bcf21cf9ad7df /registry/test | |
parent | 1f90b8086fcad7ac033e76a96bf102db7c15e44f (diff) |
drop 'using namespace std' in o* r* x*
Change-Id: I15d56d133cf464a3cb6483be785b1259c7f35b43
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123120
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'registry/test')
-rw-r--r-- | registry/test/testmerge.cxx | 9 | ||||
-rw-r--r-- | registry/test/testregcpp.cxx | 6 |
2 files changed, 5 insertions, 10 deletions
diff --git a/registry/test/testmerge.cxx b/registry/test/testmerge.cxx index 2e8cbbcc59cc..d16100c5c373 100644 --- a/registry/test/testmerge.cxx +++ b/registry/test/testmerge.cxx @@ -30,9 +30,6 @@ #include <rtl/ustring.hxx> -using namespace std; - - sal_Int32 lValue1 = 123456789; sal_Int32 lValue2 = 54321; sal_Int32 lValue3 = 111333111; @@ -103,7 +100,7 @@ void test_generateMerge1() delete myRegistry; - cout << "test_generateMerge1() Ok!\n"; + std::cout << "test_generateMerge1() Ok!\n"; return; } @@ -168,7 +165,7 @@ void test_generateMerge2() delete myRegistry; - cout << "test_generateMerge2() Ok!\n"; + std::cout << "test_generateMerge2() Ok!\n"; return; } @@ -400,7 +397,7 @@ void test_merge() delete myRegistry; - cout << "test_merge() Ok!\n"; + std::cout << "test_merge() Ok!\n"; return; } diff --git a/registry/test/testregcpp.cxx b/registry/test/testregcpp.cxx index 8b9531194c9b..6d545359b65a 100644 --- a/registry/test/testregcpp.cxx +++ b/registry/test/testregcpp.cxx @@ -29,8 +29,6 @@ #include <rtl/alloc.h> #include <rtl/ustring.hxx> -using namespace std; - void test_coreReflection() { @@ -368,7 +366,7 @@ void test_coreReflection() // REG_ENSURE(!myRegistry->destroy(NULL), "testCoreReflection error 10"); delete myRegistry; - cout << "test_coreReflection() Ok!\n"; + std::cout << "test_coreReflection() Ok!\n"; } void test_registry_CppApi() @@ -689,7 +687,7 @@ void test_registry_CppApi() REG_ENSURE(!myRegistry->destroy(OUString()), "test_registry_CppApi error 63"); delete(myRegistry); - cout << "test_registry_CppApi() Ok!\n"; + std::cout << "test_registry_CppApi() Ok!\n"; return; } |