void Model_AttributeRefList::clear()
{
- eraseHash();
std::list<ObjectPtr> anOldList = list();
myRef->Clear();
std::list<ObjectPtr>::iterator anOldIter = anOldList.begin();
REMOVE_BACK_REF((*anOldIter));
}
myExtDocRef->Clear();
+ eraseHash();
owner()->data()->sendAttributeUpdated(this);
}
REMOVE_BACK_REF(anObj);
}
}
- eraseHash();
if (!aLabelsToRemove.IsEmpty()) {
+ eraseHash();
owner()->data()->sendAttributeUpdated(this);
}
}
{
if (myHashUsed)
return;
+ eraseHash();
std::shared_ptr<Model_Document> aDoc = std::dynamic_pointer_cast<Model_Document>(
owner()->document());
if (aDoc) {