From: eap Date: Fri, 18 Mar 2005 13:46:50 +0000 (+0000) Subject: Dump Python. Change because now GetAuxData() returns TCollection_AsciiString X-Git-Tag: T_22_03_05~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4c692485e94acd1fe3884f14f3f6aab0b58b340a;p=modules%2Fgeom.git Dump Python. Change because now GetAuxData() returns TCollection_AsciiString --- diff --git a/src/GEOM_I/GEOM_Object_i.cc b/src/GEOM_I/GEOM_Object_i.cc index 2af09b209..2bc8a0454 100644 --- a/src/GEOM_I/GEOM_Object_i.cc +++ b/src/GEOM_I/GEOM_Object_i.cc @@ -129,8 +129,8 @@ void GEOM_Object_i::SetStudyEntry(const char* theEntry) //============================================================================= char* GEOM_Object_i::GetStudyEntry() { - char* anEntry = _impl->GetAuxData(); - if(anEntry) return strdup(anEntry); + TCollection_AsciiString anEntry = _impl->GetAuxData(); + if(!anEntry.IsEmpty()) return strdup(anEntry.ToCString()); return strdup(""); }