From 95170b63619ecf310d41dfa9bd4c9f6e296ab933 Mon Sep 17 00:00:00 2001 From: srn Date: Wed, 13 Dec 2006 11:47:33 +0000 Subject: [PATCH] Fixed bug in method SetTreeID --- src/SALOMEDS/SALOMEDS_AttributeTreeNode_i.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.39.2