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





--- Comment #2 from Vinu Kumar <[email protected]>  2009-02-04 22:06:20 PST 
---
fixed by modifying the following code is in XSSFCell.java

 protected void modifyCellReference(XSSFRow row) {
        this.cell.setR(new CellReference(row.getRowNum(),
cellNum).formatAsString());

        CTCell[] ctCells = row.getCTRow().getCArray();
        for (CTCell ctCell : ctCells) {
            ctCell.setR(new CellReference(row.getRowNum(),
cellNum).formatAsString());
        }
    }

with this:


protected void modifyCellReference(XSSFRow row) {

       int cnum = 0;
        this.cell.setR(new CellReference(row.getRowNum(),
cnum).formatAsString());

        CTCell[] ctCells = row.getCTRow().getCArray();
        for (CTCell ctCell : ctCells) {
            ctCell.setR(new CellReference(row.getRowNum(),
cnum++).formatAsString());
        }
    }


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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