From bc3508cd3cac134d58d6fcc0fc9d9b908294ed03 Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 18 Mar 2005 13:44:40 +0000 Subject: [PATCH] Dump Python. Make GetAuxData() return TCollection_AsciiString --- src/GEOM/GEOM_Object.cxx | 2 +- src/GEOM/GEOM_Object.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/GEOM/GEOM_Object.cxx b/src/GEOM/GEOM_Object.cxx index 0fbfacbc7..3084f8e09 100644 --- a/src/GEOM/GEOM_Object.cxx +++ b/src/GEOM/GEOM_Object.cxx @@ -220,7 +220,7 @@ void GEOM_Object::SetAuxData(const char* theData) * GetAuxData */ //============================================================================= -char* GEOM_Object::GetAuxData() +TCollection_AsciiString GEOM_Object::GetAuxData() { Handle(TDataStd_Comment) aCommentAttr; if(!_label.FindAttribute(TDataStd_Comment::GetID(), aCommentAttr)) return NULL; diff --git a/src/GEOM/GEOM_Object.hxx b/src/GEOM/GEOM_Object.hxx index 0d1571d71..3f90453d9 100644 --- a/src/GEOM/GEOM_Object.hxx +++ b/src/GEOM/GEOM_Object.hxx @@ -178,7 +178,7 @@ class GEOM_Object : public MMgt_TShared void SetAuxData(const char* theData); //Returns an auxiliary data - char* GetAuxData(); + TCollection_AsciiString GetAuxData(); //########################################################### // Sub shape methods -- 2.39.2