mirror of https://github.com/apache/poi.git
[bug-63463] fix issue with shifting rows. Thanks to David Gauntt.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1860384 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dcb6d534fd
commit
7ef085af37
|
@ -562,10 +562,11 @@ public class XSSFRow implements Row, Comparable<XSSFRow> {
|
|||
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);
|
||||
for(Cell c : this){
|
||||
((XSSFCell)c).updateCellReferencesForShifting(msg);
|
||||
}
|
||||
setRowNum(rownum);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue