git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160596 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-08-23 09:26:37 +00:00
parent 4e49b3b13c
commit d343cc6574

View File

@ -72,9 +72,11 @@ public final class CHPX extends BytePropertyNode<CHPX>
} }
CharacterProperties baseStyle = ss.getCharacterStyle( istd ); CharacterProperties baseStyle = ss.getCharacterStyle( istd );
if (baseStyle == null)
baseStyle = new CharacterProperties();
CharacterProperties props = CharacterSprmUncompressor.uncompressCHP( CharacterProperties props = CharacterSprmUncompressor.uncompressCHP(
baseStyle, getGrpprl(), 0 ); baseStyle, getGrpprl(), 0 );
;
return props; return props;
} }