diff -r 220e79cd6837 -r 382226e40865 src/ExternalPrograms.cc --- a/src/ExternalPrograms.cc Mon Feb 24 00:25:18 2014 +0200 +++ b/src/ExternalPrograms.cc Wed Mar 05 02:24:05 2014 +0200 @@ -170,7 +170,7 @@ { for (LDObject* obj : objects) { - if (obj->getType() == LDObject::ESubfile) + if (obj->type() == LDObject::ESubfile) { LDSubfile* ref = static_cast (obj); LDObjectList objs = ref->inlineContents (LDSubfile::DeepInline); @@ -181,7 +181,7 @@ obj->deleteSelf(); } else - f.write ((obj->raw() + "\r\n").toUtf8()); + f.write ((obj->asText() + "\r\n").toUtf8()); } }