From 4f8a7a6ee90420cb64fd8d21d277d65b1ad41511 Mon Sep 17 00:00:00 2001 From: Jason Height Date: Tue, 14 Oct 2003 22:44:55 +0000 Subject: [PATCH] Changed initial palette pos to -1 so we know when it has been set. Part of fix for 16559 git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353401 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/hssf/model/WorkbookRecordList.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/poi/hssf/model/WorkbookRecordList.java b/src/java/org/apache/poi/hssf/model/WorkbookRecordList.java index 0f2fa32540..90eefaefa0 100644 --- a/src/java/org/apache/poi/hssf/model/WorkbookRecordList.java +++ b/src/java/org/apache/poi/hssf/model/WorkbookRecordList.java @@ -74,7 +74,7 @@ public class WorkbookRecordList private int namepos = 0; // holds the position of last name record private int supbookpos = 0; // holds the position of sup book private int externsheetPos = 0;// holds the position of the extern sheet - private int palettepos = 0; // hold the position of the palette, if applicable + private int palettepos = -1; // hold the position of the palette, if applicable public void setRecords( List records ) -- 2.39.5