X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FShapeFix%2FShapeFix_Face.cxx;h=9887c08bd6b175bf56d958c037444198d5e6b250;hb=a9dde4a31b9851bad5658aa34033a3f3ec9b2677;hpb=5d351a0822c8ae17686643943eee163f7ab3b79f diff --git a/src/ShapeFix/ShapeFix_Face.cxx b/src/ShapeFix/ShapeFix_Face.cxx index 8536e4c201..9887c08bd6 100644 --- a/src/ShapeFix/ShapeFix_Face.cxx +++ b/src/ShapeFix/ShapeFix_Face.cxx @@ -365,7 +365,7 @@ Standard_Boolean ShapeFix_Face::Perform() { myStatus = ShapeExtend::EncodeStatus ( ShapeExtend_OK ); myFixWire->SetContext ( Context() ); - Handle(ShapeFix_Wire) theAdvFixWire = Handle(ShapeFix_Wire)::DownCast(myFixWire); + Handle(ShapeFix_Wire) theAdvFixWire = myFixWire; if (theAdvFixWire.IsNull()) return Standard_False; BRep_Builder B;