diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2021-10-05 20:33:16 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-10-05 23:03:52 +0200 |
commit | 1f90b8086fcad7ac033e76a96bf102db7c15e44f (patch) | |
tree | fc961a40b971a5cce79a4ce9ac9bcde61c3418b6 /stoc | |
parent | 3068ab9a2c9307cbea2efa2b6924ce427bb54466 (diff) |
drop 'using namespace std' in s* + toolkit
Change-Id: Ibd0b983d46a5683df64b4de79cd444427705e9e3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123118
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/source/namingservice/namingservice.cxx | 1 | ||||
-rw-r--r-- | stoc/source/servicemanager/servicemanager.cxx | 3 | ||||
-rw-r--r-- | stoc/test/javavm/jvm_interaction/interactionhandler.cxx | 1 | ||||
-rw-r--r-- | stoc/test/javavm/testjavavm.cxx | 1 |
4 files changed, 1 insertions, 5 deletions
diff --git a/stoc/source/namingservice/namingservice.cxx b/stoc/source/namingservice/namingservice.cxx index b600ab9c6794..acabb7370c6b 100644 --- a/stoc/source/namingservice/namingservice.cxx +++ b/stoc/source/namingservice/namingservice.cxx @@ -30,7 +30,6 @@ using namespace cppu; using namespace osl; -using namespace std; using namespace css::uno; using namespace css::lang; diff --git a/stoc/source/servicemanager/servicemanager.cxx b/stoc/source/servicemanager/servicemanager.cxx index d63a45abbfee..e38b9db609ae 100644 --- a/stoc/source/servicemanager/servicemanager.cxx +++ b/stoc/source/servicemanager/servicemanager.cxx @@ -64,7 +64,6 @@ using namespace css::lang; using namespace css::container; using namespace cppu; using namespace osl; -using namespace std; namespace { @@ -1123,7 +1122,7 @@ void OServiceManager::remove( const Any & Element ) const Sequence< OUString > aServiceNames = xSF->getSupportedServiceNames(); for( const OUString& rServiceName : aServiceNames ) { - pair<HashMultimap_OWString_Interface::iterator, HashMultimap_OWString_Interface::iterator> p = + std::pair<HashMultimap_OWString_Interface::iterator, HashMultimap_OWString_Interface::iterator> p = m_ServiceMap.equal_range( rServiceName ); while( p.first != p.second ) diff --git a/stoc/test/javavm/jvm_interaction/interactionhandler.cxx b/stoc/test/javavm/jvm_interaction/interactionhandler.cxx index b8dd3819cc52..b82ef594afda 100644 --- a/stoc/test/javavm/jvm_interaction/interactionhandler.cxx +++ b/stoc/test/javavm/jvm_interaction/interactionhandler.cxx @@ -49,7 +49,6 @@ #include <cppuhelper/implbase.hxx> #include <uno/current_context.hxx> -using namespace std; using namespace cppu; using namespace css::uno; using namespace css::lang; diff --git a/stoc/test/javavm/testjavavm.cxx b/stoc/test/javavm/testjavavm.cxx index f89cd8cd315b..0e243f62d339 100644 --- a/stoc/test/javavm/testjavavm.cxx +++ b/stoc/test/javavm/testjavavm.cxx @@ -36,7 +36,6 @@ #include <com/sun/star/registry/XImplementationRegistration.hpp> #include <com/sun/star/java/XJavaThreadRegister_11.hpp> -using namespace std; using namespace cppu; using namespace css::uno; using namespace css::lang; |