Remove unused function assignTag

This commit is contained in:
Benjamin Bræstrup Sayoc
2025-02-09 14:50:12 +01:00
parent 8c8179feb9
commit 934e9fb683
7 changed files with 0 additions and 37 deletions

View File

@@ -1093,14 +1093,6 @@ void CenterLine::createNewTag()
tag = gen();
}
void CenterLine::assignTag(const TechDraw::CenterLine* ce)
{
if(ce->getTypeId() == this->getTypeId())
this->tag = ce->tag;
else
throw Base::TypeError("CenterLine tag can not be assigned as types do not match.");
}
CenterLine *CenterLine::clone() const
{
CenterLine* cpy = this->copy();