diff options
author | Andreas Beeker <kiwiwings@apache.org> | 2019-10-14 21:13:08 +0000 |
---|---|---|
committer | Andreas Beeker <kiwiwings@apache.org> | 2019-10-14 21:13:08 +0000 |
commit | 607a6496b07854af2283e4b69df670a00de585b6 (patch) | |
tree | 885ee4b5a5803de827a6c9fb9319d4f540261851 /src/scratchpad | |
parent | 08b68b51414051ab7fc19aa1db4bd1a73915fd90 (diff) | |
download | poi-607a6496b07854af2283e4b69df670a00de585b6.tar.gz poi-607a6496b07854af2283e4b69df670a00de585b6.zip |
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
Diffstat (limited to 'src/scratchpad')
-rw-r--r-- | src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSimpleShape.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSimpleShape.java b/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSimpleShape.java index 824122b565..dd7afa4f9a 100644 --- a/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSimpleShape.java +++ b/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSimpleShape.java @@ -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); |