src/documentmanager.cpp

changeset 1123
15e46ea3151f
parent 1114
ffd49a28f49e
child 1125
d8f94e56d42e
--- a/src/documentmanager.cpp	Fri Feb 10 23:06:24 2017 +0200
+++ b/src/documentmanager.cpp	Sun Feb 12 16:02:02 2017 +0200
@@ -133,7 +133,7 @@
 
 	for (LDObject* obj : file->objects())
 	{
-		if (obj->type() != OBJ_Error or static_cast<LDError*> (obj)->fileReferenced().isEmpty())
+		if (obj->type() != LDObjectType::Error or static_cast<LDError*> (obj)->fileReferenced().isEmpty())
 			continue;
 
 		unknowns << static_cast<LDError*> (obj)->fileReferenced();

mercurial