From: srn Date: Wed, 13 Dec 2006 11:47:33 +0000 (+0000) Subject: Fixed bug in method SetTreeID X-Git-Tag: SALOMEDS_UnitTests_1_2~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=95170b63619ecf310d41dfa9bd4c9f6e296ab933;p=modules%2Fkernel.git Fixed bug in method SetTreeID --- diff --git a/src/SALOMEDS/SALOMEDS_AttributeTreeNode_i.cxx b/src/SALOMEDS/SALOMEDS_AttributeTreeNode_i.cxx index b4ae565ce..3574d218b 100644 --- a/src/SALOMEDS/SALOMEDS_AttributeTreeNode_i.cxx +++ b/src/SALOMEDS/SALOMEDS_AttributeTreeNode_i.cxx @@ -160,7 +160,7 @@ void SALOMEDS_AttributeTreeNode_i::SetTreeID(const char* value) SALOMEDS::Locker lock; CheckLocked(); Handle(SALOMEDSImpl_AttributeTreeNode) aNode = Handle(SALOMEDSImpl_AttributeTreeNode)::DownCast(_impl); - aNode->SetTreeID(Standard_GUID(aNode->ID())); + aNode->SetTreeID(Standard_GUID((char*)value)); } char* SALOMEDS_AttributeTreeNode_i::GetTreeID()