0026561: Porting CSharp wrapper to OCCT 7.0.0
[occt.git] / src / BRepLib / BRepLib_FindSurface.cxx
index b01ac1b..64451fb 100644 (file)
@@ -203,7 +203,7 @@ void BRepLib_FindSurface::Init(const TopoDS_Shape&    S,
 
   TopoDS_Edge E = TopoDS::Edge(ex.Current());
   Standard_Real f,l,ff,ll;
-  Handle(Geom2d_Curve) PC,PPC;
+  Handle(Geom2d_Curve) PC,aPPC;
   Handle(Geom_Surface) SS;
   TopLoc_Location L;
   Standard_Integer i = 0,j;
@@ -221,8 +221,7 @@ void BRepLib_FindSurface::Init(const TopoDS_Shape&    S,
         j = 0;
         for(;;) {
           j++;
-          BRep_Tool::CurveOnSurface(TopoDS::Edge(ex.Current()),
-            PPC,SS,L,ff,ll,j);
+          BRep_Tool::CurveOnSurface(TopoDS::Edge(ex.Current()),aPPC,SS,L,ff,ll,j);
           if (SS.IsNull()) {
             break;
           }