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:
Glen Stampoultzis 2002-04-08 12:46:40 +00:00
parent d3bad2dd93
commit 5758384c3f

View File

@ -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);
} }