]> source.dussan.org Git - poi.git/commitdiff
[github-285] Issue in XDGFShape getTxtPinX. Thanks to Dmitry Komarov. This closes...
authorPJ Fanning <fanningpj@apache.org>
Thu, 9 Dec 2021 09:55:02 +0000 (09:55 +0000)
committerPJ Fanning <fanningpj@apache.org>
Thu, 9 Dec 2021 09:55:02 +0000 (09:55 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1895720 13f79535-47bb-0310-9956-ffa450edef68

poi-ooxml/src/main/java/org/apache/poi/xdgf/usermodel/XDGFShape.java

index 92eff36c9c1c8aee9b5cbfc0b9520b73d32d4f1b..4d620e50725793079db762deb652664f6e437017 100644 (file)
@@ -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) {