]> SALOME platform Git repositories - modules/geom.git/blobdiff - src/GEOM_I/GEOM_Object_i.cc
Salome HOME
Merge from V6_main 11/02/2013
[modules/geom.git] / src / GEOM_I / GEOM_Object_i.cc
index bc8afb0f962b48dd2ef1050ff702295eea3f1e23..649e2fa2ea2a36d4479418c49afabbb6a478888c 100644 (file)
@@ -206,7 +206,7 @@ char* GEOM_Object_i::GetName()
   char* aName = _impl->GetName();
   if (aName)
     return aName; // this is already copy of pointer (see implementation of _impl)
-  return strdup("");
+  return CORBA::string_dup("");
 }
 
 //=============================================================================