0024814: Avoid using explicit names of Handle classes
[occt.git] / src / GeomFill / GeomFill_SimpleBound.cxx
index 955c8e6..3eb8f09 100644 (file)
@@ -77,7 +77,7 @@ void GeomFill_SimpleBound::Reparametrize(const Standard_Real First,
                                                 HasDF,HasDL,DF,DL,
                                                 Rev,30);
   myPar = new Law_BSpFunc();
-  (*((Handle_Law_BSpFunc*) &myPar))->SetCurve(curve);
+  (*((Handle(Law_BSpFunc)*) &myPar))->SetCurve(curve);
 }
 
 //=======================================================================