--- a/src/ExternalPrograms.cc Wed Mar 05 03:45:49 2014 +0200 +++ b/src/ExternalPrograms.cc Wed Mar 05 05:30:36 2014 +0200 @@ -219,9 +219,9 @@ { LDObjectList objects; - for (LDObject* obj : getCurrentDocument()->getObjects()) + for (LDObject* obj : getCurrentDocument()->objects()) { - if (obj->isColored() == false || obj->getColor() != colnum) + if (obj->isColored() == false || obj->color() != colnum) continue; objects << obj;