From 4220bd889319869c3fc2f8eeceec060f875d7552 Mon Sep 17 00:00:00 2001 From: vsr Date: Fri, 30 Mar 2012 06:24:41 +0000 Subject: [PATCH] Clean-up sources --- src/GLViewer/GLViewer_BaseObjects.cxx | 7 ------- src/GLViewer/GLViewer_Geom.h | 2 -- src/GLViewer/GLViewer_MimeData.cxx | 6 ------ src/GLViewer/GLViewer_Object.cxx | 6 ------ src/GLViewer/GLViewer_ViewFrame.cxx | 6 ------ src/GLViewer/GLViewer_Widget.cxx | 12 ------------ src/QxGraph/QxGraph_ViewWindow.cxx | 3 --- src/QxScene/QxScene_ViewWindow.cxx | 2 -- 8 files changed, 44 deletions(-) diff --git a/src/GLViewer/GLViewer_BaseObjects.cxx b/src/GLViewer/GLViewer_BaseObjects.cxx index c45df4157..3a110a0ba 100644 --- a/src/GLViewer/GLViewer_BaseObjects.cxx +++ b/src/GLViewer/GLViewer_BaseObjects.cxx @@ -20,23 +20,16 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -// Author : OPEN CASCADE -//#include -// #include "GLViewer_BaseObjects.h" #include "GLViewer_BaseDrawers.h" #include "GLViewer_AspectLine.h" #include "GLViewer_CoordSystem.h" #include "GLViewer_Text.h" #include "GLViewer_Group.h" - #include "GLViewer_Drawer.h" #include -//#include -//using namespace std; - /*! Constructor */ diff --git a/src/GLViewer/GLViewer_Geom.h b/src/GLViewer/GLViewer_Geom.h index 7a94ef56f..bd4fc69fd 100644 --- a/src/GLViewer/GLViewer_Geom.h +++ b/src/GLViewer/GLViewer_Geom.h @@ -33,8 +33,6 @@ #include #include -//using namespace QGL; - #ifdef WIN32 #pragma warning( disable:4251 ) #endif diff --git a/src/GLViewer/GLViewer_MimeData.cxx b/src/GLViewer/GLViewer_MimeData.cxx index 0d86a7d72..7a4eeeaab 100644 --- a/src/GLViewer/GLViewer_MimeData.cxx +++ b/src/GLViewer/GLViewer_MimeData.cxx @@ -17,15 +17,9 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -// Author : OPEN CASCADE -//#include -// #include "GLViewer_MimeData.h" #include "GLViewer_BaseObjects.h" -//#include -//using namespace std; - /*! Destructor */ diff --git a/src/GLViewer/GLViewer_Object.cxx b/src/GLViewer/GLViewer_Object.cxx index 2e67b02f2..945f58482 100644 --- a/src/GLViewer/GLViewer_Object.cxx +++ b/src/GLViewer/GLViewer_Object.cxx @@ -20,9 +20,6 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -// Author : OPEN CASCADE -//#include -// #include "GLViewer_Object.h" #include "GLViewer_Drawer.h" #include "GLViewer_AspectLine.h" @@ -31,9 +28,6 @@ #include -//#include -//using namespace std; - /*! Default constructor */ diff --git a/src/GLViewer/GLViewer_ViewFrame.cxx b/src/GLViewer/GLViewer_ViewFrame.cxx index 9712d43ea..a7be81d3f 100644 --- a/src/GLViewer/GLViewer_ViewFrame.cxx +++ b/src/GLViewer/GLViewer_ViewFrame.cxx @@ -20,11 +20,6 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -// Author : OPEN CASCADE -// File: GLViewer_ViewFrame.cxx -// Created: November, 2004 -//#include -// #include "GLViewer_ViewFrame.h" #include "GLViewer_Viewer.h" #include "GLViewer_ViewPort2d.h" @@ -51,7 +46,6 @@ #ifdef WIN32 #include #include -using namespace std; #endif /*! diff --git a/src/GLViewer/GLViewer_Widget.cxx b/src/GLViewer/GLViewer_Widget.cxx index a4d3bf3e7..aa68b09a0 100644 --- a/src/GLViewer/GLViewer_Widget.cxx +++ b/src/GLViewer/GLViewer_Widget.cxx @@ -20,33 +20,21 @@ // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // -// Author : OPEN CASCADE -// File: GLViewer_Widget.cxx -// Created: November, 2004 -// #include "GLViewer_Widget.h" #include "GLViewer_ViewPort2d.h" #include "GLViewer_Viewer2d.h" -//#include "GLViewer_Compass.h" #include "GLViewer_Grid.h" -//#include "GLViewer_Object.h" #include "GLViewer_CoordSystem.h" #include "GLViewer_ViewFrame.h" #include -using namespace std; #include #include #include - #include -//#include #include #include -//#include -//#include -//#include #include /*! diff --git a/src/QxGraph/QxGraph_ViewWindow.cxx b/src/QxGraph/QxGraph_ViewWindow.cxx index e01bc3a4b..1d1b2f93a 100644 --- a/src/QxGraph/QxGraph_ViewWindow.cxx +++ b/src/QxGraph/QxGraph_ViewWindow.cxx @@ -34,9 +34,6 @@ //QT Include #include #include -//#include - -using namespace std; /*! Constructor diff --git a/src/QxScene/QxScene_ViewWindow.cxx b/src/QxScene/QxScene_ViewWindow.cxx index 5e95272dd..5dfbcccfd 100644 --- a/src/QxScene/QxScene_ViewWindow.cxx +++ b/src/QxScene/QxScene_ViewWindow.cxx @@ -37,8 +37,6 @@ //#define _DEVDEBUG_ #include "DebTrace.hxx" -using namespace std; - /*! Constructor */ -- 2.39.2