diff options
author | PJ Fanning <fanningpj@apache.org> | 2021-12-09 09:55:02 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2021-12-09 09:55:02 +0000 |
commit | ea1e38be740e646b177bce411d45f2c8ea4dc0d3 (patch) | |
tree | 46122ce2ef273e74afa88412fad6110429835410 | |
parent | a24820e629dc37b3f3b78aa69602fc7a99ccf1bd (diff) | |
download | poi-ea1e38be740e646b177bce411d45f2c8ea4dc0d3.tar.gz poi-ea1e38be740e646b177bce411d45f2c8ea4dc0d3.zip |
[github-285] Issue in XDGFShape getTxtPinX. Thanks to Dmitry Komarov. This closes #285
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895720 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | poi-ooxml/src/main/java/org/apache/poi/xdgf/usermodel/XDGFShape.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/poi-ooxml/src/main/java/org/apache/poi/xdgf/usermodel/XDGFShape.java b/poi-ooxml/src/main/java/org/apache/poi/xdgf/usermodel/XDGFShape.java index 92eff36c9c..4d620e5072 100644 --- a/poi-ooxml/src/main/java/org/apache/poi/xdgf/usermodel/XDGFShape.java +++ b/poi-ooxml/src/main/java/org/apache/poi/xdgf/usermodel/XDGFShape.java @@ -544,9 +544,9 @@ public class XDGFShape extends XDGFSheet { } public Double getTxtPinY() { - if (_txtLocPinY == null && _masterShape != null - && _masterShape._txtLocPinY != null) { - return _masterShape._txtLocPinY; + if (_txtPinY == null && _masterShape != null + && _masterShape._txtPinY != null) { + return _masterShape._txtPinY; } if (_txtPinY == null) { |