https://issues.apache.org/bugzilla/show_bug.cgi?id=55982

--- Comment #3 from Matthieu BACHELIER <[email protected]> ---
Sure, I change the method fixTabIdRecord() :

    /**
     * Make the tabid record look like the current situation.
     */
    private void fixTabIdRecord() {
        Record r = records.get(records.getTabpos());
        if (r instanceof TabIdRecord) {
            TabIdRecord tir = ( TabIdRecord ) r;
            int sz = tir.getRecordSize();
            short[]     tia = new short[ boundsheets.size() ];

            for (short k = 0; k < tia.length; k++) {
                tia[ k ] = k;
            }
            tir.setTabIdArray(tia);
            // No need to return int because it's not used in this class
            // return tir.getRecordSize() - sz;
        } else if (r instanceof BOFRecord) {
            // so what ?
            BOFRecord bof = null; 
        }
    }

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to