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

@@ -328,14 +328,6 @@ void CosmeticEdge::createNewTag()
tag = gen();
}
void CosmeticEdge::assignTag(const TechDraw::CosmeticEdge* ce)
{
if(ce->getTypeId() == this->getTypeId())
this->tag = ce->tag;
else
throw Base::TypeError("CosmeticEdge tag can not be assigned as types do not match.");
}
CosmeticEdge* CosmeticEdge::clone() const
{
Base::Console().Message("CE::clone()\n");
@@ -504,14 +496,6 @@ void GeomFormat::createNewTag()
tag = gen();
}
void GeomFormat::assignTag(const TechDraw::GeomFormat* ce)
{
if(ce->getTypeId() == this->getTypeId())
this->tag = ce->tag;
else
throw Base::TypeError("GeomFormat tag can not be assigned as types do not match.");
}
GeomFormat *GeomFormat::clone() const
{
GeomFormat* cpy = this->copy();