src/toolsets/extprogramtoolset.cpp

changeset 1123
15e46ea3151f
parent 1116
3b1d2cc6603e
child 1125
d8f94e56d42e
--- 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};

mercurial