src/ExternalPrograms.cc

changeset 642
751a8df42842
parent 640
d4dda62c6600
child 644
93dcd1a0e4bd
--- 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;

mercurial