From d7365c0ff8f5b1ed62e3e2c50511d9255b79ee04 Mon Sep 17 00:00:00 2001 From: Gabor Kelemen Date: Wed, 10 Apr 2024 19:57:50 +0200 Subject: [PATCH] tdf#146619 Drop unused 'using namespace' in: ucb Change-Id: Id415488b11e4d1ee3399388851775d97cc317b25 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167639 Reviewed-by: Gabor Kelemen Tested-by: Jenkins --- ucb/source/cacher/cachedcontentresultsetstub.cxx | 1 - ucb/source/core/FileAccess.cxx | 2 -- ucb/source/core/identify.cxx | 1 - ucb/source/ucp/cmis/cmis_resultset.cxx | 1 - ucb/source/ucp/file/filinsreq.cxx | 1 - ucb/source/ucp/file/filprp.cxx | 1 - ucb/source/ucp/file/prov.cxx | 1 - ucb/source/ucp/gio/gio_resultset.cxx | 1 - 8 files changed, 9 deletions(-) diff --git a/ucb/source/cacher/cachedcontentresultsetstub.cxx b/ucb/source/cacher/cachedcontentresultsetstub.cxx index d1b96abf432b..5679d49bb622 100644 --- a/ucb/source/cacher/cachedcontentresultsetstub.cxx +++ b/ucb/source/cacher/cachedcontentresultsetstub.cxx @@ -31,7 +31,6 @@ using namespace com::sun::star::lang; using namespace com::sun::star::sdbc; using namespace com::sun::star::ucb; using namespace com::sun::star::uno; -using namespace com::sun::star::util; using namespace cppu; diff --git a/ucb/source/core/FileAccess.cxx b/ucb/source/core/FileAccess.cxx index 889655dc3ef2..319af18a6c23 100644 --- a/ucb/source/core/FileAccess.cxx +++ b/ucb/source/core/FileAccess.cxx @@ -63,8 +63,6 @@ using namespace ::com::sun::star::sdbc; using namespace ::com::sun::star::task; using namespace ::com::sun::star::util; using namespace ::com::sun::star::beans; -using namespace ::com::sun::star::registry; -using namespace ::com::sun::star::container; using ::std::vector; diff --git a/ucb/source/core/identify.cxx b/ucb/source/core/identify.cxx index 1094f8fd53e3..e9a9db0f58b7 100644 --- a/ucb/source/core/identify.cxx +++ b/ucb/source/core/identify.cxx @@ -27,7 +27,6 @@ #include "identify.hxx" -using namespace com::sun::star::uno; using namespace com::sun::star::lang; using namespace com::sun::star::ucb; diff --git a/ucb/source/ucp/cmis/cmis_resultset.cxx b/ucb/source/ucp/cmis/cmis_resultset.cxx index 782953b65af8..602071c590ed 100644 --- a/ucb/source/ucp/cmis/cmis_resultset.cxx +++ b/ucb/source/ucp/cmis/cmis_resultset.cxx @@ -10,7 +10,6 @@ #include "cmis_datasupplier.hxx" #include "cmis_resultset.hxx" -using namespace com::sun::star::lang; using namespace com::sun::star::ucb; using namespace com::sun::star::uno; diff --git a/ucb/source/ucp/file/filinsreq.cxx b/ucb/source/ucp/file/filinsreq.cxx index 0b8ebfb5395e..eb914e080320 100644 --- a/ucb/source/ucp/file/filinsreq.cxx +++ b/ucb/source/ucp/file/filinsreq.cxx @@ -31,7 +31,6 @@ using namespace cppu; using namespace com::sun::star; using namespace com::sun::star::uno; -using namespace com::sun::star::lang; using namespace com::sun::star::task; using namespace com::sun::star::ucb; using namespace com::sun::star::beans; diff --git a/ucb/source/ucp/file/filprp.cxx b/ucb/source/ucp/file/filprp.cxx index ed352a9e9a23..5c2baa8e3f3e 100644 --- a/ucb/source/ucp/file/filprp.cxx +++ b/ucb/source/ucp/file/filprp.cxx @@ -25,7 +25,6 @@ using namespace fileaccess; using namespace com::sun::star; using namespace com::sun::star::uno; -using namespace com::sun::star::ucb; XPropertySetInfo_impl::XPropertySetInfo_impl( TaskManager* pMyShell,const OUString& aUnqPath ) : m_pMyShell( pMyShell ), diff --git a/ucb/source/ucp/file/prov.cxx b/ucb/source/ucp/file/prov.cxx index eab4ec5300b7..03cf3e1534e0 100644 --- a/ucb/source/ucp/file/prov.cxx +++ b/ucb/source/ucp/file/prov.cxx @@ -38,7 +38,6 @@ using namespace com::sun::star::uno; using namespace com::sun::star::lang; using namespace com::sun::star::beans; using namespace com::sun::star::ucb; -using namespace com::sun::star::container; #if OSL_DEBUG_LEVEL > 0 #define THROW_WHERE SAL_WHERE diff --git a/ucb/source/ucp/gio/gio_resultset.cxx b/ucb/source/ucp/gio/gio_resultset.cxx index a91c552b79a3..7e0494929c68 100644 --- a/ucb/source/ucp/gio/gio_resultset.cxx +++ b/ucb/source/ucp/gio/gio_resultset.cxx @@ -22,7 +22,6 @@ #include "gio_datasupplier.hxx" #include "gio_resultset.hxx" -using namespace com::sun::star::lang; using namespace com::sun::star::ucb; using namespace com::sun::star::uno;