]> SALOME platform Git repositories - modules/hydro.git/blobdiff - src/HYDROData/HYDROData_CalculationCase.cxx
Salome HOME
Create goups for stream.
[modules/hydro.git] / src / HYDROData / HYDROData_CalculationCase.cxx
index 70c10a63758d6f900bafb634e16a9ce13fb7b05d..d40387eee159af849077abd59f4ff15e3d5ee2ec 100644 (file)
@@ -737,7 +737,7 @@ bool HYDROData_CalculationCase::Export( GEOM::GEOM_Gen_var theGeomEngine,
 
     // Get shapes of the group
     TopTools_SequenceOfShape aShapes;
-    aGroup->GeShapes( aShapes );
+    aGroup->GetShapes( aShapes );
     for( int i = 1, aNbShapes = aShapes.Length(); i <= aNbShapes; i++ ) {
       const TopoDS_Shape& aShape = aShapes.Value( i );
       const TopoDS_Shape ModifiedShape = aSewing.Modified( aShape );
@@ -785,8 +785,6 @@ GEOM::GEOM_Object_ptr HYDROData_CalculationCase::publishShapeInGEOM(
 {
   GEOM::GEOM_Object_var aGeomObj;
 
-  bool isNil = aGeomObj->_is_nil(); ///@MZN
-
   if ( theGeomEngine->_is_nil() || theStudy->_is_nil() ||
        theShape.IsNull() ) {
     return aGeomObj._retn();