Salome HOME
Merge Python 3 porting.
[modules/smesh.git] / src / StdMeshers / StdMeshers_PolygonPerFace_2D.cxx
index 5f3a21e8ad455b3ddf7eb1b6feb2f53a8d98eefe..37054e80ec3c706467dc9918b7a1d221676ce03e 100644 (file)
@@ -49,9 +49,8 @@ using namespace std;
 //=======================================================================
 
 StdMeshers_PolygonPerFace_2D::StdMeshers_PolygonPerFace_2D(int        hypId,
-                                                           int        studyId,
                                                            SMESH_Gen* gen)
-  :SMESH_2D_Algo(hypId, studyId, gen)
+  :SMESH_2D_Algo(hypId, gen)
 {
   _name = "PolygonPerFace_2D";
 }
@@ -87,10 +86,10 @@ bool StdMeshers_PolygonPerFace_2D::Compute(SMESH_Mesh&         theMesh,
   if ( !proxyMesh )
     return false;
 
-  TError erorr;
+  TError err;
   TSideVector wires = StdMeshers_FaceSide::GetFaceWires(face, theMesh,
                                                         /*skipMediumNodes=*/_quadraticMesh,
-                                                        erorr, proxyMesh,
+                                                        err, &helper, proxyMesh,
                                                         /*checkVertexNodes=*/false);
   if ( wires.size() != 1 )
     return error( COMPERR_BAD_SHAPE, SMESH_Comment("One wire required, not ") << wires.size() );