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
4e49b3b13c
commit
d343cc6574
@ -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
Block a user