From a8ad6173a0131f94a2e02138e027c410fb7cc160 Mon Sep 17 00:00:00 2001 From: Glen Stampoultzis Date: Sat, 3 Jul 2004 12:25:12 +0000 Subject: [PATCH] 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 --- src/java/org/apache/poi/hssf/usermodel/HSSFWorkbook.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) -- 2.39.5