- GEOM::GEOM_Object_var anObj;
-
- bool isPlanarWanted = GroupWire->CheckButton1->isChecked();
- anObj = GEOM::GEOM_IShapesOperations::_narrow(
- getOperation() )->MakeFaceWires( myWires, isPlanarWanted );
+ GEOM::GEOM_IShapesOperations_var anOper = GEOM::GEOM_IShapesOperations::_narrow( getOperation() );
+ GEOM::GEOM_Object_var anObj = anOper->MakeFaceWires( myWires, GroupWire->CheckButton1->isChecked() );