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 --- connectivity/source/drivers/firebird/Catalog.cxx | 5 +---- connectivity/source/drivers/firebird/DatabaseMetaData.cxx | 3 --- connectivity/source/drivers/firebird/Indexes.cxx | 1 - connectivity/source/drivers/firebird/ResultSet.cxx | 1 - connectivity/source/drivers/firebird/ResultSetMetaData.cxx | 2 -- connectivity/source/drivers/firebird/Statement.cxx | 1 - connectivity/source/drivers/firebird/StatementCommonBase.cxx | 1 - connectivity/source/drivers/firebird/Table.cxx | 1 - connectivity/source/drivers/firebird/Tables.cxx | 1 - connectivity/source/drivers/firebird/User.cxx | 4 +--- connectivity/source/drivers/firebird/Users.cxx | 2 -- connectivity/source/drivers/firebird/Util.cxx | 2 -- connectivity/source/drivers/hsqldb/HTerminateListener.cxx | 1 - 13 files changed, 2 insertions(+), 23 deletions(-) (limited to 'connectivity') diff --git a/connectivity/source/drivers/firebird/Catalog.cxx b/connectivity/source/drivers/firebird/Catalog.cxx index dbbfaa33691c..613b6d2e9702 100644 --- a/connectivity/source/drivers/firebird/Catalog.cxx +++ b/connectivity/source/drivers/firebird/Catalog.cxx @@ -12,9 +12,6 @@ #include "Users.hxx" using namespace ::connectivity::firebird; - -using namespace ::rtl; - using namespace ::com::sun::star; using namespace ::com::sun::star::sdbc; using namespace ::com::sun::star::uno; @@ -94,4 +91,4 @@ void Catalog::refreshUsers() else m_pUsers->reFill(aUserNames); } -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ \ No newline at end of file +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx index c1a970f68d05..0407c6de1801 100644 --- a/connectivity/source/drivers/firebird/DatabaseMetaData.cxx +++ b/connectivity/source/drivers/firebird/DatabaseMetaData.cxx @@ -34,9 +34,6 @@ #include using namespace connectivity::firebird; - -using namespace ::rtl; - using namespace com::sun::star; using namespace com::sun::star::uno; using namespace com::sun::star::lang; diff --git a/connectivity/source/drivers/firebird/Indexes.cxx b/connectivity/source/drivers/firebird/Indexes.cxx index 2b94d8ea117b..86f4f9f6f66c 100644 --- a/connectivity/source/drivers/firebird/Indexes.cxx +++ b/connectivity/source/drivers/firebird/Indexes.cxx @@ -13,7 +13,6 @@ using namespace ::connectivity; using namespace ::connectivity::firebird; using namespace ::osl; -using namespace ::rtl; using namespace ::std; using namespace ::com::sun::star; diff --git a/connectivity/source/drivers/firebird/ResultSet.cxx b/connectivity/source/drivers/firebird/ResultSet.cxx index caf5c7ad7a3b..95a555190816 100644 --- a/connectivity/source/drivers/firebird/ResultSet.cxx +++ b/connectivity/source/drivers/firebird/ResultSet.cxx @@ -42,7 +42,6 @@ using namespace ::connectivity::firebird; using namespace ::cppu; using namespace ::dbtools; using namespace ::osl; -using namespace ::rtl; using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/connectivity/source/drivers/firebird/ResultSetMetaData.cxx b/connectivity/source/drivers/firebird/ResultSetMetaData.cxx index fc0ba50deef8..2da269cd6693 100644 --- a/connectivity/source/drivers/firebird/ResultSetMetaData.cxx +++ b/connectivity/source/drivers/firebird/ResultSetMetaData.cxx @@ -24,8 +24,6 @@ using namespace connectivity::firebird; -using namespace ::rtl; - using namespace com::sun::star::lang; using namespace com::sun::star::sdbc; using namespace com::sun::star::uno; diff --git a/connectivity/source/drivers/firebird/Statement.cxx b/connectivity/source/drivers/firebird/Statement.cxx index 59e5ff8f77d7..f8343449ac80 100644 --- a/connectivity/source/drivers/firebird/Statement.cxx +++ b/connectivity/source/drivers/firebird/Statement.cxx @@ -47,7 +47,6 @@ using namespace com::sun::star::util; using namespace ::comphelper; using namespace ::osl; -using namespace ::rtl; using namespace ::std; // ---- XBatchExecution - UNSUPPORTED ---------------------------------------- diff --git a/connectivity/source/drivers/firebird/StatementCommonBase.cxx b/connectivity/source/drivers/firebird/StatementCommonBase.cxx index e6a67e4cbd78..36780738b44a 100644 --- a/connectivity/source/drivers/firebird/StatementCommonBase.cxx +++ b/connectivity/source/drivers/firebird/StatementCommonBase.cxx @@ -41,7 +41,6 @@ using namespace ::com::sun::star::util; using namespace ::comphelper; using namespace ::osl; -using namespace ::rtl; using namespace ::std; OStatementCommonBase::OStatementCommonBase(Connection* _pConnection) diff --git a/connectivity/source/drivers/firebird/Table.cxx b/connectivity/source/drivers/firebird/Table.cxx index 086ecd465e26..d6512606971b 100644 --- a/connectivity/source/drivers/firebird/Table.cxx +++ b/connectivity/source/drivers/firebird/Table.cxx @@ -25,7 +25,6 @@ using namespace ::connectivity::firebird; using namespace ::connectivity::sdbcx; using namespace ::osl; -using namespace ::rtl; using namespace ::com::sun::star; using namespace ::com::sun::star::beans; diff --git a/connectivity/source/drivers/firebird/Tables.cxx b/connectivity/source/drivers/firebird/Tables.cxx index eea298707e44..df3edb7e6ea2 100644 --- a/connectivity/source/drivers/firebird/Tables.cxx +++ b/connectivity/source/drivers/firebird/Tables.cxx @@ -20,7 +20,6 @@ using namespace ::connectivity::firebird; using namespace ::connectivity::sdbcx; using namespace ::cppu; using namespace ::osl; -using namespace ::rtl; using namespace ::com::sun::star; using namespace ::com::sun::star::beans; diff --git a/connectivity/source/drivers/firebird/User.cxx b/connectivity/source/drivers/firebird/User.cxx index a9e6fc4323bd..1e3399f5716d 100644 --- a/connectivity/source/drivers/firebird/User.cxx +++ b/connectivity/source/drivers/firebird/User.cxx @@ -11,9 +11,7 @@ using namespace ::connectivity; using namespace ::connectivity::firebird; -using namespace ::connectivity::sdbcx; - -using namespace ::rtl; +using namespace ::connectivity::sdbcx; using namespace ::com::sun::star; using namespace ::com::sun::star::sdbc; diff --git a/connectivity/source/drivers/firebird/Users.cxx b/connectivity/source/drivers/firebird/Users.cxx index e95cbb7cbe0a..4316a5814039 100644 --- a/connectivity/source/drivers/firebird/Users.cxx +++ b/connectivity/source/drivers/firebird/Users.cxx @@ -19,8 +19,6 @@ using namespace ::connectivity::firebird; using namespace ::connectivity::sdbcx; using namespace ::cppu; using namespace ::osl; -using namespace ::rtl; - using namespace ::com::sun::star; using namespace ::com::sun::star::beans; using namespace ::com::sun::star::container; diff --git a/connectivity/source/drivers/firebird/Util.cxx b/connectivity/source/drivers/firebird/Util.cxx index 0806d0e987f1..d682ac31378e 100644 --- a/connectivity/source/drivers/firebird/Util.cxx +++ b/connectivity/source/drivers/firebird/Util.cxx @@ -12,8 +12,6 @@ using namespace ::connectivity; -using namespace ::rtl; - using namespace ::com::sun::star; using namespace ::com::sun::star::sdbc; using namespace ::com::sun::star::uno; diff --git a/connectivity/source/drivers/hsqldb/HTerminateListener.cxx b/connectivity/source/drivers/hsqldb/HTerminateListener.cxx index a821d70501eb..84c84fb5a273 100644 --- a/connectivity/source/drivers/hsqldb/HTerminateListener.cxx +++ b/connectivity/source/drivers/hsqldb/HTerminateListener.cxx @@ -29,7 +29,6 @@ namespace connectivity using namespace ::com::sun::star::uno; using namespace ::com::sun::star::frame; using namespace ::com::sun::star::lang; - using namespace ::rtl; // XEventListener void SAL_CALL OConnectionController::disposing( const EventObject& /*Source*/ ) -- cgit