mirror of https://github.com/apache/poi.git
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:
parent
783adba7df
commit
f583c4a34f
|
@ -187,7 +187,8 @@ class SSTDeserializer
|
|||
extensionLength = 0;
|
||||
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) );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue