From: yfr Date: Wed, 24 Sep 2003 07:33:22 +0000 (+0000) Subject: DCQ : GetIORFromString bug correction X-Git-Tag: V1_3_0_b1~8 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ea3ceb5606a769a82fff42feba3173d082458aa0;p=modules%2Fgeom.git DCQ : GetIORFromString bug correction --- diff --git a/src/GEOM/GEOM_Gen_i.cc b/src/GEOM/GEOM_Gen_i.cc index c8460ca50..4bc0f4dbf 100644 --- a/src/GEOM/GEOM_Gen_i.cc +++ b/src/GEOM/GEOM_Gen_i.cc @@ -762,7 +762,7 @@ const char* GEOM_Gen_i::GetStringFromIOR(GEOM::GEOM_Shape_var shapeIOR) { //================================================================================= GEOM::GEOM_Shape_ptr GEOM_Gen_i::GetIORFromString(const char* stringIOR) { GEOM::GEOM_Shape_var shapeIOR = GEOM::GEOM_Shape::_narrow(_orb->string_to_object(stringIOR)) ; - return shapeIOR ; + return shapeIOR._retn(); }