From 4c692485e94acd1fe3884f14f3f6aab0b58b340a Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 18 Mar 2005 13:46:50 +0000 Subject: [PATCH] Dump Python. Change because now GetAuxData() returns TCollection_AsciiString --- src/GEOM_I/GEOM_Object_i.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(""); } -- 2.39.2