]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
0021948]: EDF SMESH : Memory is not freed when deleting a mesh
authoreap <eap@opencascade.com>
Mon, 24 Dec 2012 13:58:17 +0000 (13:58 +0000)
committereap <eap@opencascade.com>
Mon, 24 Dec 2012 13:58:17 +0000 (13:58 +0000)
  Move declaration of GEOM::GEOM_Object_wrap form
  GEOMBase/GEOM_GenericObjPtr.h to GEOM_I/GEOM_wrap.hxx as GEOMBase is
  a part of GUI

-#include <GEOM_GenericObjPtr.h>
+#include <GEOM_wrap.hxx>

src/PluginUtils/GeomSelectionTools.cxx
src/SMESHGUI/SMESHGUI_ComputeDlg.cxx
src/SMESHGUI/SMESHGUI_GEOMGenUtils.cxx
src/SMESHGUI/SMESHGUI_GroupDlg.cxx
src/SMESHGUI/SMESHGUI_GroupOnShapeDlg.cxx
src/SMESHGUI/SMESHGUI_MeshOp.cxx
src/SMESHGUI/SMESHGUI_ShapeByMeshDlg.cxx
src/SMESH_I/SMESH_Gen_i.cxx
src/SMESH_I/SMESH_Mesh_i.cxx
src/StdMeshersGUI/StdMeshersGUI_StdHypothesisCreator.cxx

index 2f495237cff09c30f784c020e4426154583a2e1a..cfb841f5cca859b0e513c262743270af4d009f7d 100644 (file)
@@ -33,7 +33,7 @@
 #include <SMESHGUI_Utils.h>
 #include <boost/shared_ptr.hpp>
 #include <GEOMImpl_Types.hxx>
-#include <GEOM_GenericObjPtr.h>
+#include <GEOM_wrap.hxx>
 
 #include <TopoDS.hxx>
 #include <BRep_Tool.hxx>
index b077d73369f290c54202e5454c6b056b2735c93d..1d5555e7eb71f13c1274e12da6315e3efa7c1252 100644 (file)
@@ -41,7 +41,7 @@
 // SALOME GEOM includes
 #include <GEOMBase.h>
 #include <GEOM_Actor.h>
-#include <GEOM_GenericObjPtr.h>
+#include <GEOM_wrap.hxx>
 
 // SALOME GUI includes
 #include <LightApp_SelectionMgr.h>
index 37f13c33d170427e1e392e57b4a2404e898ce256..c0daa7005752fa172fcdf34e86eabd647ad63b96 100644 (file)
@@ -30,7 +30,7 @@
 
 // SALOME GEOM includes
 #include <GeometryGUI.h>
-#include <GEOM_GenericObjPtr.h>
+#include <GEOM_wrap.hxx>
 
 // SALOME KERNEL includes
 #include <SALOMEDS_SObject.hxx>
index bc27fbb69dc2857f2c44fca9728c167a4b2fe639..e7eccaee797910a8d49ca18c0e5b8208b058075c 100644 (file)
@@ -44,7 +44,7 @@
 // SALOME GEOM includes
 #include <GEOMBase.h>
 #include <GEOM_SelectionFilter.h>
-#include <GEOM_GenericObjPtr.h>
+#include <GEOM_wrap.hxx>
 
 // SALOME GUI includes
 #include <QtxColorButton.h>
index 50f3bbacc7b9d13e6c0018bb20a11747159a9082..2b797a4219605c4cb8355cc8135ec076cd60efb6 100644 (file)
@@ -33,7 +33,7 @@
 
 #include <GeometryGUI.h>
 #include <GEOM_SelectionFilter.h>
-#include <GEOM_GenericObjPtr.h>
+#include <GEOM_wrap.hxx>
 
 #include <SUIT_Session.h>
 #include <SUIT_OverrideCursor.h>
index 3252838e73e87c35a1e7170af2a0a44b4dac091b..00ad90ec527c2624d1397af5815eb091de4c41bf 100644 (file)
@@ -40,7 +40,7 @@
 #include <GEOM_SelectionFilter.h>
 #include <GEOMBase.h>
 #include <GeometryGUI.h>
-#include <GEOM_GenericObjPtr.h>
+#include <GEOM_wrap.hxx>
 
 // SALOME GUI includes
 #include <SalomeApp_Tools.h>
index e83ee56e2b317ca817a15080fbf0ecfe590b95e3..38df65d1d6c13c950e01ddc88df812749ab8f3f2 100644 (file)
@@ -40,7 +40,7 @@
 // SALOME GEOM includes
 #include <GEOMBase.h>
 #include <GeometryGUI.h>
-#include <GEOM_GenericObjPtr.h>
+#include <GEOM_wrap.hxx>
 
 // SALOME GUI includes
 #include <LightApp_DataOwner.h>
index 4b26696015ec8c26c935a8aac3499e27ba63de65..8fb303ad35ce421875c92c6f75190fc78a4ae206 100644 (file)
 // helpers about SALOME::GenericObj
 #include <SALOMEDS_wrap.hxx>
 #include <SALOMEDS_Attributes_wrap.hxx>
-#include <GEOM_GenericObjPtr.h>
+#include <GEOM_wrap.hxx>
 
 #include <map>
 #include <fstream>
@@ -2150,7 +2150,8 @@ SMESH_Gen_i::FindGeometryByMeshElement( SMESH::SMESH_Mesh_ptr  theMesh,
         }
         if ( geom->_is_nil() ) {
           // explode
-          GEOM::ShapesOpPtr op = geomGen->GetIShapesOperations( GetCurrentStudyID() );
+          GEOM::GEOM_IShapesOperations_wrap op =
+            geomGen->GetIShapesOperations( GetCurrentStudyID() );
           if ( !op->_is_nil() )
             geom = op->GetSubShape( mainShape, shapeID );
         }
index 426ece549f081731c98bf073e15d7eeadafc9f35..dde636000a0009209bdfe78a2b7a62d9b30d66a7 100644 (file)
@@ -60,7 +60,7 @@
 #include <utilities.h>
 
 #include <GEOMImpl_Types.hxx>
-#include <GEOM_GenericObjPtr.h>
+#include <GEOM_wrap.hxx>
 
 // OCCT Includes
 #include <BRep_Builder.hxx>
index ac7fa4dfa7db5afe3b41c0a30a11bbe0d9d2ccf5..1e5234d6ba4b8295b5f9056e8940a5232c62b895 100644 (file)
@@ -42,7 +42,7 @@
 
 #include <SALOMEDSClient_Study.hxx>
 
-#include <GEOM_GenericObjPtr.h>
+#include <GEOM_wrap.hxx>
 
 // SALOME GUI includes
 #include <SUIT_ResourceMgr.h>