1
0
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:
abv
2016-03-11 07:23:55 +03:00
parent d8d342451d
commit e91fd0250d
10 changed files with 31 additions and 31 deletions

View File

@@ -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);