View | Details | Raw Unified | Return to bug 54282
Collapse All | Expand All

(-)src/ooxml/java/org/apache/poi/xssf/usermodel/helpers/ColumnHelper.java (-1 / +2 lines)
Lines 112-118 Link Here
112
112
113
    public CTCols addCleanColIntoCols(CTCols cols, CTCol col) {
113
    public CTCols addCleanColIntoCols(CTCols cols, CTCol col) {
114
        boolean colOverlaps = false;
114
        boolean colOverlaps = false;
115
        for (int i = 0; i < cols.sizeOfColArray(); i++) {
115
        int sizeOfColArray = cols.sizeOfColArray();
116
        for (int i = 0; i < sizeOfColArray; i++) {
116
            CTCol ithCol = cols.getColArray(i);
117
            CTCol ithCol = cols.getColArray(i);
117
            long[] range1 = { ithCol.getMin(), ithCol.getMax() };
118
            long[] range1 = { ithCol.getMin(), ithCol.getMax() };
118
            long[] range2 = { col.getMin(), col.getMax() };
119
            long[] range2 = { col.getMin(), col.getMax() };

Return to bug 54282