// File : SALOMEDS_TargetAttribute.cxx
// Author : Yves FRICAUD
// Module : SALOME
-// $Header:
+// $Header$
#include "SALOMEDS_TargetAttribute.ixx"
#include <TDF_Reference.hxx>
Backup();
Handle(TDF_Reference) aReference;
if (theReferencedObject.FindAttribute(TDF_Reference::GetID(),aReference)) {
+ TDF_ListIteratorOfAttributeList anIter(GetVariables());
+ for(;anIter.More();anIter.Next()) if(anIter.Value()->Label() == theReferencedObject) return; //BugID: PAL6192
GetVariables().Append(aReference);
} else {
MESSAGE("SALOMEDS_TargetAttribute::Append: can't append referenced object");