]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fixed bug in method SetTreeID
authorsrn <srn@opencascade.com>
Wed, 13 Dec 2006 11:47:33 +0000 (11:47 +0000)
committersrn <srn@opencascade.com>
Wed, 13 Dec 2006 11:47:33 +0000 (11:47 +0000)
src/SALOMEDS/SALOMEDS_AttributeTreeNode_i.cxx

index b4ae565ce62af527e825a0641ab9c1a5839f3fe0..3574d218ba9ad038cad832dba494b78c7cf7ba7a 100644 (file)
@@ -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()