From: eap Date: Fri, 18 Mar 2005 13:44:40 +0000 (+0000) Subject: Dump Python. Make GetAuxData() return TCollection_AsciiString X-Git-Tag: T_22_03_05~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bc3508cd3cac134d58d6fcc0fc9d9b908294ed03;p=modules%2Fgeom.git Dump Python. Make GetAuxData() return TCollection_AsciiString --- 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