https://bz.apache.org/bugzilla/show_bug.cgi?id=63463

--- Comment #6 from David Gauntt <dmgau...@uab.edu> ---
Comment on attachment 36604
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=36604
Patch to XSSFRow.shift(int) to fix bug 63463

>    /**
>     * update cell references when shifting rows
>     *
>     * @param n the number of rows to move
>     */
>    protected void shift(int n) {
>        int rownum = getRowNum() + n;
>        String msg = "Row[rownum=" + getRowNum() + "] contains cell(s) 
> included in a multi-cell array formula. " +
>                "You cannot change part of an array.";
>        setRowNum(rownum);  //  Bug 63463
>        for(Cell c : this){
>            ((XSSFCell)c).updateCellReferencesForShifting(msg);
>          }
>        //setRowNum(rownum); Bug 63463
>    }

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to