From: Glen Stampoultzis Date: Sat, 3 Jul 2004 12:25:12 +0000 (+0000) Subject: Missed something with repeating rows and columns X-Git-Tag: REL_2_5_1~6 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a8ad6173a0131f94a2e02138e027c410fb7cc160;p=poi.git 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 --- diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java b/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java index 3a40962f0d..0700c34fc0 100644 --- a/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java +++ b/src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java @@ -510,7 +510,7 @@ public class HSSFWorkbook if (removingRange ) { if (nameRecord != null) - workbook.removeName(findExistingRowColHeaderNameRecordIdx(sheetIndex)); + workbook.removeName(findExistingRowColHeaderNameRecordIdx(sheetIndex+1)); return; } if ( nameRecord == null )