mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0027247: Eliminate remaining compiler warnings in MFC samples and with OCCT_DEBUG
Unsafe and useless casts of handles are eliminated
This commit is contained in:
@@ -1078,7 +1078,7 @@ void MAT2d_Tool2d::Dump(const Standard_Integer bisector,
|
||||
if(bisector == -1) return;
|
||||
if(bisector > theNumberOfBisectors) return;
|
||||
|
||||
Handle(Geom2d_Curve) thebisector = Handle(Geom2d_Curve)::DownCast(GeomBis(bisector).Value());
|
||||
Handle(Geom2d_Curve) thebisector = GeomBis(bisector).Value();
|
||||
|
||||
MAT2d_DrawCurve(thebisector,3);
|
||||
|
||||
|
Reference in New Issue
Block a user