[Libreoffice-commits] core.git: vcl/ios vcl/osx

Julien Nabet (via logerrit) logerrit at kemper.freedesktop.org
Wed Oct 6 20:56:31 UTC 2021


 vcl/ios/iOSTransferable.cxx   |    1 -
 vcl/osx/DataFlavorMapping.cxx |    1 -
 vcl/osx/OSXTransferable.cxx   |    1 -
 vcl/osx/salframe.cxx          |    1 -
 vcl/osx/salinst.cxx           |    1 -
 5 files changed, 5 deletions(-)

New commits:
commit 490479c9b6f75dd857b8b644f84f65c37c1b460f
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Wed Oct 6 21:20:21 2021 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Wed Oct 6 22:55:55 2021 +0200

    drop 'using namespace std' in vcl (MacOs/ios), blindly
    
    but hopefully there's a Jenkins machine on MacOs
    
    Change-Id: If5e87d16e64f010494ca1e5751ea6873f3a21a57
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123190
    Tested-by: Julien Nabet <serval2412 at yahoo.fr>
    Reviewed-by: Julien Nabet <serval2412 at yahoo.fr>

diff --git a/vcl/ios/iOSTransferable.cxx b/vcl/ios/iOSTransferable.cxx
index 6e1bd00b3a97..ece771e7f60b 100644
--- a/vcl/ios/iOSTransferable.cxx
+++ b/vcl/ios/iOSTransferable.cxx
@@ -31,7 +31,6 @@
 
 #include "DataFlavorMapping.hxx"
 
-using namespace std;
 using namespace osl;
 using namespace cppu;
 using namespace com::sun::star::uno;
diff --git a/vcl/osx/DataFlavorMapping.cxx b/vcl/osx/DataFlavorMapping.cxx
index feecca3f663e..1145c77cfa76 100644
--- a/vcl/osx/DataFlavorMapping.cxx
+++ b/vcl/osx/DataFlavorMapping.cxx
@@ -45,7 +45,6 @@ using namespace ::com::sun::star::datatransfer;
 using namespace ::com::sun::star::uno;
 using namespace com::sun::star::lang;
 using namespace cppu;
-using namespace std;
 
 namespace
 {
diff --git a/vcl/osx/OSXTransferable.cxx b/vcl/osx/OSXTransferable.cxx
index 4857843c34f3..f3ed1ec83fae 100644
--- a/vcl/osx/OSXTransferable.cxx
+++ b/vcl/osx/OSXTransferable.cxx
@@ -30,7 +30,6 @@
 
 #include "DataFlavorMapping.hxx"
 
-using namespace std;
 using namespace osl;
 using namespace cppu;
 using namespace com::sun::star::uno;
diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx
index 5b3a7e665ff5..7ef3b7b2c1ce 100644
--- a/vcl/osx/salframe.cxx
+++ b/vcl/osx/salframe.cxx
@@ -54,7 +54,6 @@
 #include <Carbon/Carbon.h>
 #include <postmac.h>
 
-using namespace std;
 
 AquaSalFrame* AquaSalFrame::s_pCaptureFrame = nullptr;
 
diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx
index 9424c4e90909..452821f33e14 100644
--- a/vcl/osx/salinst.cxx
+++ b/vcl/osx/salinst.cxx
@@ -84,7 +84,6 @@ extern "C" {
 #include <crt_externs.h>
 }
 
-using namespace std;
 using namespace ::com::sun::star;
 
 static int* gpnInit = nullptr;


More information about the Libreoffice-commits mailing list