Browse Source

Fix one-off error at referencing adjust values for HSLF preset shapes

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1868460 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_4_1_1^2
Andreas Beeker 4 years ago
parent
commit
607a6496b0

+ 1
- 1
src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSimpleShape.java View File

@@ -337,7 +337,7 @@ public abstract class HSLFSimpleShape extends HSLFShape implements SimpleShape<H
}


EscherPropertyTypes escherProp = ADJUST_VALUES[adjInt];
EscherPropertyTypes escherProp = ADJUST_VALUES[adjInt-1];

int adjval = getEscherProperty(escherProp, -1);


Loading…
Cancel
Save