bbox.cpp

changeset 70
e6b8dab8f81a
parent 62
915fc477cb6a
child 71
c9f02d2dd9eb
--- a/bbox.cpp	Mon Mar 25 16:05:03 2013 +0200
+++ b/bbox.cpp	Mon Mar 25 17:04:18 2013 +0200
@@ -34,10 +34,8 @@
 	if (!g_CurrentFile)
 		return;
 	
-	for (uint i = 0; i < g_CurrentFile->objects.size(); i++) {
-		LDObject* obj = g_CurrentFile->objects[i];
+	for (LDObject* obj : g_CurrentFile->objects) {
 		switch (obj->getType ()) {
-		
 		case OBJ_Line:
 			{
 				LDLine* line = static_cast<LDLine*> (obj);

mercurial