From 0631ddc21db91465a4fbf2b9b2e9f69b0d45f24f Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 21 Oct 2014 18:40:35 +0400 Subject: [PATCH] Remove obsolete staff; redesign Handle-based and CDL-generated classes --- src/PluginUtils/GeomSelectionTools.cxx | 4 ++-- src/SMESHGUI/SMESHGUI.cxx | 1 - src/SMESHGUI/SMESHGUI_DeleteGroupDlg.cxx | 1 - src/SMESHGUI/SMESHGUI_DisplayEntitiesDlg.cxx | 2 +- src/SMESHGUI/SMESHGUI_DuplicateNodesDlg.cxx | 1 - src/SMESHGUI/SMESHGUI_FilterDlg.cxx | 2 -- src/SMESHGUI/SMESHGUI_GroupDlg.cxx | 1 - src/SMESHGUI/SMESHGUI_GroupOpDlg.cxx | 1 - src/SMESHGUI/SMESHGUI_Measurements.cxx | 2 +- src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx | 1 - src/SMESHGUI/SMESHGUI_ReorientFacesDlg.cxx | 1 - src/SMESHGUI/SMESHGUI_RotationDlg.cxx | 1 - src/SMESHGUI/SMESHGUI_ScaleDlg.cxx | 1 - src/SMESHGUI/SMESHGUI_SelectionOp.cxx | 1 - src/SMESHGUI/SMESHGUI_SymmetryDlg.cxx | 1 - src/SMESHGUI/SMESHGUI_TranslationDlg.cxx | 1 - src/SMESHGUI/SMESHGUI_TransparencyDlg.cxx | 1 - src/SMESHGUI/SMESHGUI_VTKUtils.cxx | 1 - src/StdMeshersGUI/StdMeshersGUI_CartesianParamCreator.cxx | 1 - src/StdMeshersGUI/StdMeshersGUI_ObjectReferenceParamWdg.cxx | 1 - src/StdMeshersGUI/StdMeshersGUI_QuadrangleParamWdg.cxx | 1 - src/StdMeshersGUI/StdMeshersGUI_SubShapeSelectorWdg.cxx | 1 - 22 files changed, 4 insertions(+), 24 deletions(-) diff --git a/src/PluginUtils/GeomSelectionTools.cxx b/src/PluginUtils/GeomSelectionTools.cxx index d57f2a210..c248771a4 100644 --- a/src/PluginUtils/GeomSelectionTools.cxx +++ b/src/PluginUtils/GeomSelectionTools.cxx @@ -28,7 +28,7 @@ #include #include -#include +#include #include #include #include @@ -96,7 +96,7 @@ LightApp_SelectionMgr* GeomSelectionTools::selectionMgr() */ SALOME_ListIO* GeomSelectionTools::getSelectedSalomeObjects() { - SALOME_ListIO* selected; + SALOME_ListIO* selected = new SALOME_ListIO; LightApp_SelectionMgr* aSel = selectionMgr(); aSel->selectedObjects( *selected, NULL, false ); return selected; diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index f3dc7de1c..e76a236c0 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -133,7 +133,6 @@ #include #include -#include #ifndef DISABLE_PLOT2DVIEWER #include diff --git a/src/SMESHGUI/SMESHGUI_DeleteGroupDlg.cxx b/src/SMESHGUI/SMESHGUI_DeleteGroupDlg.cxx index 5d0a1ee7d..f106c0b66 100644 --- a/src/SMESHGUI/SMESHGUI_DeleteGroupDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_DeleteGroupDlg.cxx @@ -43,7 +43,6 @@ #include #include -#include #include #include diff --git a/src/SMESHGUI/SMESHGUI_DisplayEntitiesDlg.cxx b/src/SMESHGUI/SMESHGUI_DisplayEntitiesDlg.cxx index 741c0dbde..1e0a288d5 100644 --- a/src/SMESHGUI/SMESHGUI_DisplayEntitiesDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_DisplayEntitiesDlg.cxx @@ -37,7 +37,7 @@ #include #include #include -#include +#include const int MARGIN = 9; const int SPACING = 6; diff --git a/src/SMESHGUI/SMESHGUI_DuplicateNodesDlg.cxx b/src/SMESHGUI/SMESHGUI_DuplicateNodesDlg.cxx index ad4997644..57428add2 100644 --- a/src/SMESHGUI/SMESHGUI_DuplicateNodesDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_DuplicateNodesDlg.cxx @@ -48,7 +48,6 @@ #include #include -#include // Qt includes #include diff --git a/src/SMESHGUI/SMESHGUI_FilterDlg.cxx b/src/SMESHGUI/SMESHGUI_FilterDlg.cxx index 8409afa4a..4dfa5268b 100755 --- a/src/SMESHGUI/SMESHGUI_FilterDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_FilterDlg.cxx @@ -62,8 +62,6 @@ #include #include -#include -#include #include diff --git a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx index 60095ebe2..7cad33071 100644 --- a/src/SMESHGUI/SMESHGUI_GroupDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_GroupDlg.cxx @@ -61,7 +61,6 @@ #include #include -#include #include diff --git a/src/SMESHGUI/SMESHGUI_GroupOpDlg.cxx b/src/SMESHGUI/SMESHGUI_GroupOpDlg.cxx index 33a4720ea..bbebee448 100644 --- a/src/SMESHGUI/SMESHGUI_GroupOpDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_GroupOpDlg.cxx @@ -59,7 +59,6 @@ #include #include #include -#include #include #include diff --git a/src/SMESHGUI/SMESHGUI_Measurements.cxx b/src/SMESHGUI/SMESHGUI_Measurements.cxx index e00937aff..9f7c9bb26 100644 --- a/src/SMESHGUI/SMESHGUI_Measurements.cxx +++ b/src/SMESHGUI/SMESHGUI_Measurements.cxx @@ -36,7 +36,7 @@ #include #include #include -#include +#include #include #include diff --git a/src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx b/src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx index b2fdc8bdd..e42a8389d 100755 --- a/src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_MultiEditDlg.cxx @@ -53,7 +53,6 @@ #include #include #include -#include #include #include diff --git a/src/SMESHGUI/SMESHGUI_ReorientFacesDlg.cxx b/src/SMESHGUI/SMESHGUI_ReorientFacesDlg.cxx index 41e341cca..064df3909 100644 --- a/src/SMESHGUI/SMESHGUI_ReorientFacesDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_ReorientFacesDlg.cxx @@ -46,7 +46,6 @@ // SALOME GUI includes #include #include -#include #include #include #include diff --git a/src/SMESHGUI/SMESHGUI_RotationDlg.cxx b/src/SMESHGUI/SMESHGUI_RotationDlg.cxx index 936a228c1..1a9724012 100644 --- a/src/SMESHGUI/SMESHGUI_RotationDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_RotationDlg.cxx @@ -52,7 +52,6 @@ #include #include #include -#include // SALOME KERNEL includes #include diff --git a/src/SMESHGUI/SMESHGUI_ScaleDlg.cxx b/src/SMESHGUI/SMESHGUI_ScaleDlg.cxx index 9da433c69..e07177bf1 100644 --- a/src/SMESHGUI/SMESHGUI_ScaleDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_ScaleDlg.cxx @@ -49,7 +49,6 @@ #include #include #include -#include // SALOME KERNEL includes #include diff --git a/src/SMESHGUI/SMESHGUI_SelectionOp.cxx b/src/SMESHGUI/SMESHGUI_SelectionOp.cxx index 0c8486ed2..999951ba3 100644 --- a/src/SMESHGUI/SMESHGUI_SelectionOp.cxx +++ b/src/SMESHGUI/SMESHGUI_SelectionOp.cxx @@ -43,7 +43,6 @@ #include #include -#include // SALOME KERNEL includes #include diff --git a/src/SMESHGUI/SMESHGUI_SymmetryDlg.cxx b/src/SMESHGUI/SMESHGUI_SymmetryDlg.cxx index c887edf84..2a014f21e 100644 --- a/src/SMESHGUI/SMESHGUI_SymmetryDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_SymmetryDlg.cxx @@ -52,7 +52,6 @@ #include #include #include -#include // SALOME KERNEL includes #include diff --git a/src/SMESHGUI/SMESHGUI_TranslationDlg.cxx b/src/SMESHGUI/SMESHGUI_TranslationDlg.cxx index e4bf823f8..ae7adcfa0 100644 --- a/src/SMESHGUI/SMESHGUI_TranslationDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_TranslationDlg.cxx @@ -52,7 +52,6 @@ #include #include #include -#include // SALOME KERNEL includes #include diff --git a/src/SMESHGUI/SMESHGUI_TransparencyDlg.cxx b/src/SMESHGUI/SMESHGUI_TransparencyDlg.cxx index 58b52c670..6c1370943 100644 --- a/src/SMESHGUI/SMESHGUI_TransparencyDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_TransparencyDlg.cxx @@ -40,7 +40,6 @@ #include #include -#include #include #include diff --git a/src/SMESHGUI/SMESHGUI_VTKUtils.cxx b/src/SMESHGUI/SMESHGUI_VTKUtils.cxx index 6b67d5e9c..7ca3e9395 100644 --- a/src/SMESHGUI/SMESHGUI_VTKUtils.cxx +++ b/src/SMESHGUI/SMESHGUI_VTKUtils.cxx @@ -47,7 +47,6 @@ #include #include -#include #include #include diff --git a/src/StdMeshersGUI/StdMeshersGUI_CartesianParamCreator.cxx b/src/StdMeshersGUI/StdMeshersGUI_CartesianParamCreator.cxx index 4cdd2b92e..0c5ad56fb 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_CartesianParamCreator.cxx +++ b/src/StdMeshersGUI/StdMeshersGUI_CartesianParamCreator.cxx @@ -40,7 +40,6 @@ #include #include #include -#include #include #include #include diff --git a/src/StdMeshersGUI/StdMeshersGUI_ObjectReferenceParamWdg.cxx b/src/StdMeshersGUI/StdMeshersGUI_ObjectReferenceParamWdg.cxx index 9e5768402..7960a9686 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_ObjectReferenceParamWdg.cxx +++ b/src/StdMeshersGUI/StdMeshersGUI_ObjectReferenceParamWdg.cxx @@ -35,7 +35,6 @@ #include #include #include -#include // SALOME KERNEL incldues #include diff --git a/src/StdMeshersGUI/StdMeshersGUI_QuadrangleParamWdg.cxx b/src/StdMeshersGUI/StdMeshersGUI_QuadrangleParamWdg.cxx index a99177bce..9db22c2a9 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_QuadrangleParamWdg.cxx +++ b/src/StdMeshersGUI/StdMeshersGUI_QuadrangleParamWdg.cxx @@ -29,7 +29,6 @@ #include #include #include -#include #include // Qt includes diff --git a/src/StdMeshersGUI/StdMeshersGUI_SubShapeSelectorWdg.cxx b/src/StdMeshersGUI/StdMeshersGUI_SubShapeSelectorWdg.cxx index 9cd4ff727..798635493 100644 --- a/src/StdMeshersGUI/StdMeshersGUI_SubShapeSelectorWdg.cxx +++ b/src/StdMeshersGUI/StdMeshersGUI_SubShapeSelectorWdg.cxx @@ -43,7 +43,6 @@ // SALOME GUI includes #include #include -#include // SUIT Includes #include -- 2.30.2