Fixed remove bug.
git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352356 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d3bad2dd93
commit
5758384c3f
@ -424,7 +424,7 @@ public class HSSFRow
|
|||||||
short cellnum = (short) (lastcell - 1);
|
short cellnum = (short) (lastcell - 1);
|
||||||
HSSFCell r = getCell(cellnum);
|
HSSFCell r = getCell(cellnum);
|
||||||
|
|
||||||
while (r == null)
|
while (r == null && cellnum >= 0)
|
||||||
{
|
{
|
||||||
r = getCell(--cellnum);
|
r = getCell(--cellnum);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user