cppu/source/threadpool/current.cxx | 1 - cppuhelper/source/access_control.cxx | 1 - cppuhelper/source/component_context.cxx | 1 - cppuhelper/source/exc_thrower.cxx | 1 - cppuhelper/source/implbase_ex.cxx | 1 - cppuhelper/source/macro_expander.cxx | 1 - cppuhelper/source/weak.cxx | 1 - io/source/TextInputStream/TextInputStream.cxx | 1 - io/source/TextOutputStream/TextOutputStream.cxx | 1 - io/source/stm/odata.cxx | 1 - io/source/stm/omark.cxx | 1 - io/source/stm/opump.cxx | 1 - 12 files changed, 12 deletions(-)
New commits: commit 6d3f6e77e1a21e53343339545502feecc69e6c78 Author: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> AuthorDate: Fri Mar 29 13:18:22 2024 +0100 Commit: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> CommitDate: Fri Mar 29 21:21:02 2024 +0100 tdf#146619 Drop unused 'using namespace' in: io/ Change-Id: I5cfd37be41e1d364f8d50b3a547453d418abb86d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165512 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> diff --git a/io/source/TextInputStream/TextInputStream.cxx b/io/source/TextInputStream/TextInputStream.cxx index 1ce12a6e796e..29699e9adf9c 100644 --- a/io/source/TextInputStream/TextInputStream.cxx +++ b/io/source/TextInputStream/TextInputStream.cxx @@ -36,7 +36,6 @@ namespace com::sun::star::uno { class XComponentContext; } -using namespace ::osl; using namespace ::cppu; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; diff --git a/io/source/TextOutputStream/TextOutputStream.cxx b/io/source/TextOutputStream/TextOutputStream.cxx index 1271c4d09c96..e8706b407843 100644 --- a/io/source/TextOutputStream/TextOutputStream.cxx +++ b/io/source/TextOutputStream/TextOutputStream.cxx @@ -31,7 +31,6 @@ namespace com::sun::star::uno { class XComponentContext; } -using namespace ::osl; using namespace ::cppu; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; diff --git a/io/source/stm/odata.cxx b/io/source/stm/odata.cxx index 6b19585da942..881b0cda132a 100644 --- a/io/source/stm/odata.cxx +++ b/io/source/stm/odata.cxx @@ -39,7 +39,6 @@ #include <com/sun/star/uno/XComponentContext.hpp> using namespace ::cppu; -using namespace ::osl; using namespace ::com::sun::star::io; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; diff --git a/io/source/stm/omark.cxx b/io/source/stm/omark.cxx index 3507eb0a0729..9cc5959f1f13 100644 --- a/io/source/stm/omark.cxx +++ b/io/source/stm/omark.cxx @@ -42,7 +42,6 @@ #include <mutex> using namespace ::cppu; -using namespace ::osl; using namespace ::com::sun::star::io; using namespace ::com::sun::star::uno; using namespace ::com::sun::star::lang; diff --git a/io/source/stm/opump.cxx b/io/source/stm/opump.cxx index df3e6132319d..62f6e85c3b95 100644 --- a/io/source/stm/opump.cxx +++ b/io/source/stm/opump.cxx @@ -35,7 +35,6 @@ #include <osl/thread.h> #include <mutex> -using namespace osl; using namespace cppu; using namespace com::sun::star::uno; using namespace com::sun::star::lang; commit b6f5472ea147230b07a04f5677e1de8ea149cea5 Author: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> AuthorDate: Fri Mar 29 13:16:58 2024 +0100 Commit: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> CommitDate: Fri Mar 29 21:20:50 2024 +0100 tdf#146619 Drop unused 'using namespace' in: cppu/ cppuhelper/ Change-Id: I4658c2a5c780fa5e8dd83381eb9978510973e0a9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165511 Tested-by: Jenkins Reviewed-by: Gabor Kelemen <gabor.kelemen.ext...@allotropia.de> diff --git a/cppu/source/threadpool/current.cxx b/cppu/source/threadpool/current.cxx index 64e6bfb8f64c..46fdc8c253f3 100644 --- a/cppu/source/threadpool/current.cxx +++ b/cppu/source/threadpool/current.cxx @@ -30,7 +30,6 @@ #include "current.hxx" -using namespace ::osl; using namespace ::rtl; using namespace ::cppu; using namespace ::com::sun::star::uno; diff --git a/cppuhelper/source/access_control.cxx b/cppuhelper/source/access_control.cxx index da8343648a95..9b8b907df6b6 100644 --- a/cppuhelper/source/access_control.cxx +++ b/cppuhelper/source/access_control.cxx @@ -26,7 +26,6 @@ #include <com/sun/star/connection/SocketPermission.hpp> #include <com/sun/star/uno/XComponentContext.hpp> -using namespace ::osl; using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/cppuhelper/source/component_context.cxx b/cppuhelper/source/component_context.cxx index da070bdf027c..47dbd0b3773e 100644 --- a/cppuhelper/source/component_context.cxx +++ b/cppuhelper/source/component_context.cxx @@ -51,7 +51,6 @@ constexpr OUString SMGR_SINGLETON = u"/singletons/com.sun.star.lang.theServiceMa constexpr OUStringLiteral TDMGR_SINGLETON = u"/singletons/com.sun.star.reflection.theTypeDescriptionManager"; constexpr OUStringLiteral AC_SINGLETON = u"/singletons/com.sun.star.security.theAccessController"; -using namespace ::osl; using namespace ::com::sun::star::uno; using namespace ::com::sun::star; diff --git a/cppuhelper/source/exc_thrower.cxx b/cppuhelper/source/exc_thrower.cxx index 57e2ad1d0235..50d3133ffb2b 100644 --- a/cppuhelper/source/exc_thrower.cxx +++ b/cppuhelper/source/exc_thrower.cxx @@ -30,7 +30,6 @@ #include <cppuhelper/exc_hlp.hxx> -using namespace ::osl; using namespace ::cppu; using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/cppuhelper/source/implbase_ex.cxx b/cppuhelper/source/implbase_ex.cxx index 4ced30adbe5c..731299d9cf06 100644 --- a/cppuhelper/source/implbase_ex.cxx +++ b/cppuhelper/source/implbase_ex.cxx @@ -27,7 +27,6 @@ #include <mutex> using namespace ::cppu; -using namespace ::osl; using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/cppuhelper/source/macro_expander.cxx b/cppuhelper/source/macro_expander.cxx index ce227a7e76f4..ee4efe089410 100644 --- a/cppuhelper/source/macro_expander.cxx +++ b/cppuhelper/source/macro_expander.cxx @@ -38,7 +38,6 @@ constexpr OUString SERVICE_NAME_A = u"com.sun.star.lang.MacroExpander"_ustr; constexpr OUString SERVICE_NAME_B = u"com.sun.star.lang.BootstrapMacroExpander"_ustr; constexpr OUStringLiteral IMPL_NAME = u"com.sun.star.lang.comp.cppuhelper.BootstrapMacroExpander"; -using namespace ::osl; using namespace ::com::sun::star; using namespace ::com::sun::star::uno; diff --git a/cppuhelper/source/weak.cxx b/cppuhelper/source/weak.cxx index e51f9ccf86a6..6bb353faa9bd 100644 --- a/cppuhelper/source/weak.cxx +++ b/cppuhelper/source/weak.cxx @@ -31,7 +31,6 @@ #include <vector> #include <mutex> -using namespace osl; using namespace com::sun::star::uno; namespace cppu