Missed something with repeating rows and columns

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353566 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Glen Stampoultzis 2004-07-03 12:25:12 +00:00
parent 6ab34bac0b
commit 54082fe268
1 changed files with 1 additions and 1 deletions

View File

@ -510,7 +510,7 @@ public class HSSFWorkbook
if (removingRange ) if (removingRange )
{ {
if (nameRecord != null) if (nameRecord != null)
workbook.removeName(findExistingRowColHeaderNameRecordIdx(sheetIndex)); workbook.removeName(findExistingRowColHeaderNameRecordIdx(sheetIndex+1));
return; return;
} }
if ( nameRecord == null ) if ( nameRecord == null )