if(aGenAttr != NULL)
myAttrMap[theType] = anAttrHolder;
}else{
- myAttrMap.erase(theType);
+ //myAttrMap.erase(theType);
//if(anGenAttr != NULL)
// anGenAttr->Destroy();
return TAttrHolder();
}
TAttrMap::iterator anIter = myAttrMap.find(theType);
if(anIter != myAttrMap.end()){
- myAttrMap.erase(anIter);
+ //myAttrMap.erase(anIter);
}
_lab.ForgetAttribute(::GetGUID(theType));
}
_study->AddPostponed(TCollection_AsciiString(anAttr->Get()).ToCString());
}
- myAttrMap.clear();
+ //myAttrMap.clear();
- SALOMEDS_Study_i::TSObjectMap& anSObjectMap = _study->GetSObjectMap();
- anSObjectMap.erase(_lab);
+ //SALOMEDS_Study_i::TSObjectMap& anSObjectMap = _study->GetSObjectMap();
+ //anSObjectMap.erase(_lab);
}