diff --git a/src/GEOM_I/GEOM_ITransformOperations_i.cc b/src/GEOM_I/GEOM_ITransformOperations_i.cc index e6ed96e05..b4f6b27fc 100644 --- a/src/GEOM_I/GEOM_ITransformOperations_i.cc +++ b/src/GEOM_I/GEOM_ITransformOperations_i.cc @@ -720,8 +720,7 @@ CORBA::Double GEOM_ITransformOperations_i::ProjectPointOnWire (aPoint, aWire, aPointOnEdge, anEdgeIndex); if (!aPointOnEdge.IsNull()) { - GEOM::GEOM_Object_var obj = GetObject(aPointOnEdge); - thePointOnEdge = obj.out(); + thePointOnEdge = GetObject(aPointOnEdge); theEdgeInWireIndex = anEdgeIndex; }