Index: write.c =================================================================== --- write.c (revision 23381) +++ write.c (revision 23382) @@ -367,17 +367,7 @@ fprintf(wr->f, "{BOARD\n"); -TODO("use pcb_has_explicit_outline() instead") - has_outline = 0; - for(i = 0, g = PCB->LayerGroups.grp; i < PCB->LayerGroups.len; i++,g++) { - if (pcb_layergrp_is_pure_empty(PCB, i)) - continue; - if (PCB_LAYER_IS_OUTLINE(g->ltype, g->purpi)) { - has_outline = 1; - break; - } - } - + has_outline = pcb_has_explicit_outline(PCB); if (!has_outline) { /* implicit outline */ fprintf(wr->f, "* implicit outline derived from board width and height\n");