}
static void copySelection(AttributeSelectionPtr theOld,
- AttributeSelectionPtr theNew,
- MapEntities& theMapOldNew)
+ AttributeSelectionPtr theNew)
{
theNew->selectValue(theOld);
}
}
else if (theNew->attributeType() == ModelAPI_AttributeSelection::typeId()) {
copySelection(std::dynamic_pointer_cast<ModelAPI_AttributeSelection>(theOld),
- std::dynamic_pointer_cast<ModelAPI_AttributeSelection>(theNew),
- theMapOldNew);
+ std::dynamic_pointer_cast<ModelAPI_AttributeSelection>(theNew));
}
}