Fix to 24519. Call to getCustomPalette() from a newly created workbook

now works


git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/branches/REL_2_BRANCH@353440 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason Height 2003-11-09 21:01:52 +00:00
parent 8fcb89ec40
commit 23a825f060

View File

@ -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