]> source.dussan.org Git - poi.git/commitdiff
Missed something with repeating rows and columns
authorGlen Stampoultzis <glens@apache.org>
Sat, 3 Jul 2004 12:25:12 +0000 (12:25 +0000)
committerGlen Stampoultzis <glens@apache.org>
Sat, 3 Jul 2004 12:25:12 +0000 (12:25 +0000)
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

index 3a40962f0d93faa4e4c912edd2048c157b594029..0700c34fc07698cf3f8b04979b8c3ad5af0b4ad2 100644 (file)
@@ -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 )