Salome HOME
Fix bad previous change
authorvsr <vsr@opencascade.com>
Thu, 24 Oct 2013 09:59:54 +0000 (09:59 +0000)
committervsr <vsr@opencascade.com>
Thu, 24 Oct 2013 09:59:54 +0000 (09:59 +0000)
src/GEOM_I/GEOM_ITransformOperations_i.cc

index e6ed96e05932d083f1b039214c6db1b2089edc70..b4f6b27fcc992e2354e22c75296d64f5736d7588 100644 (file)
@@ -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;
   }