diff -r 454f8b730946 -r 2418d5955421 src/ldtypes.cpp --- a/src/ldtypes.cpp Sat Dec 07 01:18:21 2013 +0200 +++ b/src/ldtypes.cpp Thu Dec 12 19:44:09 2013 +0200 @@ -18,7 +18,7 @@ #include "main.h" #include "ldtypes.h" -#include "file.h" +#include "document.h" #include "misc.h" #include "gui.h" #include "history.h" @@ -356,7 +356,7 @@ const long end = up ? objs.size() : -1; const long incr = up ? 1 : -1; QList objsToCompile; - LDFile* file = objs[0]->getFile(); + LDDocument* file = objs[0]->getFile(); for (long i = start; i != end; i += incr) { LDObject* obj = objs[i];