mirror of https://github.com/apache/poi.git
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
b8457f4fc7
commit
5f10197de0
|
@ -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