Fix NPE when calling HSLFTextRun.setHorizontalCentered()
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1725022 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c1263423cf
commit
79920b06eb
@ -66,7 +66,7 @@ implements TextShape<HSLFShape,HSLFTextParagraph> {
|
||||
MIDDLE (1, VerticalAlignment.MIDDLE, false, false),
|
||||
BOTTOM (2, VerticalAlignment.BOTTOM, false, false),
|
||||
TOP_CENTER (3, VerticalAlignment.TOP, true, false),
|
||||
MIDDLE_CENTER (4, VerticalAlignment.MIDDLE, true, null),
|
||||
MIDDLE_CENTER (4, VerticalAlignment.MIDDLE, true, false),
|
||||
BOTTOM_CENTER (5, VerticalAlignment.BOTTOM, true, false),
|
||||
TOP_BASELINE (6, VerticalAlignment.TOP, false, true),
|
||||
BOTTOM_BASELINE (7, VerticalAlignment.BOTTOM, false, true),
|
||||
|
Loading…
Reference in New Issue
Block a user