mirror of https://github.com/apache/poi.git
fix NPE
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1160596 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
983ef6fd96
commit
2366e41d68
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue