--- a/src/toolsets/extprogramtoolset.cpp Fri Feb 10 23:06:24 2017 +0200 +++ b/src/toolsets/extprogramtoolset.cpp Sun Feb 12 16:02:02 2017 +0200 @@ -167,14 +167,14 @@ { for (LDObject* obj : objects) { - if (obj->type() == OBJ_SubfileReference) + if (obj->type() == LDObjectType::SubfileReference) { LDSubfileReference* ref = static_cast<LDSubfileReference*> (obj); Model model {m_documents}; ref->inlineContents(model, true, false); writeObjects(model.objects().toList(), f); } - else if (obj->type() == OBJ_BezierCurve) + else if (obj->type() == LDObjectType::BezierCurve) { LDBezierCurve* curve = static_cast<LDBezierCurve*> (obj); Model model {m_documents};