From 6a8533739917f3562d730acc798144358c1d474a Mon Sep 17 00:00:00 2001 From: yfr Date: Wed, 24 Sep 2003 07:46:47 +0000 Subject: [PATCH] DCQ : GetIORFromString bug correction --- src/GEOM/GEOM_Gen_i.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GEOM/GEOM_Gen_i.cc b/src/GEOM/GEOM_Gen_i.cc index b66693702..e048497fe 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(); } -- 2.39.2