A fix for the bug that remained uncaught because I didn't write a testcase that I should have - once again proving to myself that test cases are wonderful things and that I skimp on doing them way too often.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/poi/trunk@352684 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Glen Stampoultzis 2002-06-12 09:10:04 +00:00
parent b05947a181
commit 8908e20c5d

View File

@ -187,7 +187,8 @@ class SSTDeserializer
extensionLength = 0; extensionLength = 0;
if ( extendedText ) if ( extendedText )
{ {
extensionLength = LittleEndian.getInt( data, index + SSTRecord.STRING_MINIMAL_OVERHEAD ); extensionLength = LittleEndian.getInt( data, index + SSTRecord.STRING_MINIMAL_OVERHEAD
+ (richText ? LittleEndianConsts.SHORT_SIZE : 0) );
} }
} }