--- 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();