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 b8457f4fc7
commit 5f10197de0
1 changed files with 1 additions and 1 deletions

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