void Model_AttributeRefList::createHash()
{
- if (myHashUsed)
+ if (myHashUsed) {
return;
+ }
eraseHash();
std::shared_ptr<Model_Document> aDoc = std::dynamic_pointer_cast<Model_Document>(
owner()->document());
myHashObjects.insert(anObj);
}
}
- if (!myHashObjects.empty()) // on open document with multi-rotation referenced have no results
- myHashUsed = true;
}
}