X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FRWStepGeom%2FRWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface.cxx;h=b1556526facda2f0986e23d27523e2ef89ae1b16;hb=a9dde4a31b9851bad5658aa34033a3f3ec9b2677;hpb=5d351a0822c8ae17686643943eee163f7ab3b79f diff --git a/src/RWStepGeom/RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface.cxx b/src/RWStepGeom/RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface.cxx index 35116e3e5f..b1556526fa 100644 --- a/src/RWStepGeom/RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface.cxx +++ b/src/RWStepGeom/RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface.cxx @@ -428,9 +428,7 @@ void RWStepGeom_RWBSplineSurfaceWithKnotsAndRationalBSplineSurface::Check const Interface_ShareTool& aShto, Handle(Interface_Check)& ach) const { - Handle(StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface) aRationalBSS = - Handle(StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface) - ::DownCast(ent); + Handle(StepGeom_BSplineSurfaceWithKnotsAndRationalBSplineSurface) aRationalBSS = ent; Handle(StepGeom_BSplineSurfaceWithKnots) aBSSWK = aRationalBSS->BSplineSurfaceWithKnots(); RWStepGeom_RWBSplineSurfaceWithKnots t1;