From 0371a6336582aea9574d1f8e6ae152ef3f95ac62 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 29 Oct 2014 12:03:33 +0200 Subject: remove unnecessary 'using namespace rtl' declarations It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- sal/qa/osl/condition/osl_Condition.cxx | 1 - sal/qa/osl/mutex/osl_Mutex.cxx | 1 - sal/qa/rtl/process/child_process.cxx | 2 -- sal/qa/rtl/process/rtl_Process_Const.h | 2 -- sal/test/testbootstrap.cxx | 2 -- sal/workben/testfile.cxx | 1 - 6 files changed, 9 deletions(-) (limited to 'sal') diff --git a/sal/qa/osl/condition/osl_Condition.cxx b/sal/qa/osl/condition/osl_Condition.cxx index 160a4d5374bf..a4177fdbce7c 100644 --- a/sal/qa/osl/condition/osl_Condition.cxx +++ b/sal/qa/osl/condition/osl_Condition.cxx @@ -23,7 +23,6 @@ #include using namespace osl; -using namespace rtl; enum ConditionType { diff --git a/sal/qa/osl/mutex/osl_Mutex.cxx b/sal/qa/osl/mutex/osl_Mutex.cxx index e0747f337bf6..4c613b6bd22d 100644 --- a/sal/qa/osl/mutex/osl_Mutex.cxx +++ b/sal/qa/osl/mutex/osl_Mutex.cxx @@ -27,7 +27,6 @@ #include using namespace osl; -using namespace rtl; /** pause nSec seconds helper function. */ diff --git a/sal/qa/rtl/process/child_process.cxx b/sal/qa/rtl/process/child_process.cxx index 344a25f71a3b..c6b44cc50c19 100644 --- a/sal/qa/rtl/process/child_process.cxx +++ b/sal/qa/rtl/process/child_process.cxx @@ -22,8 +22,6 @@ #include #include -using namespace ::rtl; - // ----------------------------------- Main ----------------------------------- SAL_IMPLEMENT_MAIN_WITH_ARGS(, argv) { diff --git a/sal/qa/rtl/process/rtl_Process_Const.h b/sal/qa/rtl/process/rtl_Process_Const.h index 132cd567519b..2c0b49679964 100644 --- a/sal/qa/rtl/process/rtl_Process_Const.h +++ b/sal/qa/rtl/process/rtl_Process_Const.h @@ -22,8 +22,6 @@ #include -using namespace ::rtl; - #ifdef __cplusplus extern "C" { diff --git a/sal/test/testbootstrap.cxx b/sal/test/testbootstrap.cxx index a9a445fae92a..3919bcc22bdf 100644 --- a/sal/test/testbootstrap.cxx +++ b/sal/test/testbootstrap.cxx @@ -26,8 +26,6 @@ #include -using namespace ::rtl; - int main( int argc, char *argv[] ) { osl_setCommandArgs (argc, argv); diff --git a/sal/workben/testfile.cxx b/sal/workben/testfile.cxx index 0148a22f5b8a..49ec449af3b7 100644 --- a/sal/workben/testfile.cxx +++ b/sal/workben/testfile.cxx @@ -37,7 +37,6 @@ #endif using namespace osl; -using namespace rtl; rtl::OUString root; -- cgit