From 8dc8c41f199420fdd671a3e4f79c3eee6a71e107 Mon Sep 17 00:00:00 2001 From: Jason Height Date: Sun, 9 Nov 2003 21:15:51 +0000 Subject: [PATCH] Fix to 24519. getCustomPalette now works on the head with a newly created workbook git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@353441 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/hssf/model/Workbook.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/java/org/apache/poi/hssf/model/Workbook.java b/src/java/org/apache/poi/hssf/model/Workbook.java index 2ef73c2f92..e3593414c6 100644 --- a/src/java/org/apache/poi/hssf/model/Workbook.java +++ b/src/java/org/apache/poi/hssf/model/Workbook.java @@ -311,7 +311,6 @@ public class Workbook implements Model { { records.add( retval.createStyle( k ) ); } - retval.records.setPalettepos( records.size() ); records.add( retval.createUseSelFS() ); for ( int k = 0; k < 1; k++ ) { // now just do 1 -- 2.39.5