From ea1e38be740e646b177bce411d45f2c8ea4dc0d3 Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Thu, 9 Dec 2021 09:55:02 +0000 Subject: [PATCH] [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 --- .../main/java/org/apache/poi/xdgf/usermodel/XDGFShape.java | 6 +++--- 1 file 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) { -- 2.39.5