DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43401>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43401





------- Additional Comments From [EMAIL PROTECTED]  2007-09-14 16:17 -------
org.apache.poi.hssf.record.aggregates.RowRecordsAggregate was casting the row 
number to a short when calling RowRecord.setRowNumber.  This method takes an 
int - not a short.  I removed the cast and the problem was resolved.  Can 
someone please add this fix (or something like it) to the codebase.

My change is below...

    public RowRecord getRow(int rownum)
    {

        // Integer integer = new Integer(rownum);
        RowRecord row = new RowRecord();

        //row.setRowNumber(( short ) rownum);  -- I commented this line out
        row.setRowNumber(rownum);
        return ( RowRecord ) records.get(row);
    }

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to