- GEOM::GEOM_ILocalOperations_ptr op =
- GEOM::GEOM_ILocalOperations::_narrow(getOperation());
- anObj = (myIs1D ? op->MakeFillet1D(myShape, getRadius(), aListOfIndexes)
- : op->MakeFillet2D(myShape, getRadius(), aListOfIndexes));
+ GEOM::GEOM_ILocalOperations_var anOper = GEOM::GEOM_ILocalOperations::_narrow(getOperation());
+ GEOM::GEOM_Object_var anObj = myIs1D ?
+ anOper->MakeFillet1D(myShape, getRadius(), aListOfIndexes) :
+ anOper->MakeFillet2D(myShape, getRadius(), aListOfIndexes);