You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ki...@apache.org on 2019/10/14 21:13:08 UTC
svn commit: r1868460 -
/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSimpleShape.java
Author: kiwiwings
Date: Mon Oct 14 21:13:08 2019
New Revision: 1868460
URL: http://svn.apache.org/viewvc?rev=1868460&view=rev
Log:
Fix one-off error at referencing adjust values for HSLF preset shapes
Modified:
poi/trunk/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSimpleShape.java
Modified: poi/trunk/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSimpleShape.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSimpleShape.java?rev=1868460&r1=1868459&r2=1868460&view=diff
==============================================================================
--- poi/trunk/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSimpleShape.java (original)
+++ poi/trunk/src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSimpleShape.java Mon Oct 14 21:13:08 2019
@@ -337,7 +337,7 @@ public abstract class HSLFSimpleShape ex
}
- EscherPropertyTypes escherProp = ADJUST_VALUES[adjInt];
+ EscherPropertyTypes escherProp = ADJUST_VALUES[adjInt-1];
int adjval = getEscherProperty(escherProp, -1);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org