]> source.dussan.org Git - poi.git/commitdiff
BugFix: wrong hyperlink record added - used child instead of parent record
authorAndreas Beeker <kiwiwings@apache.org>
Sat, 16 Jan 2016 22:19:34 +0000 (22:19 +0000)
committerAndreas Beeker <kiwiwings@apache.org>
Sat, 16 Jan 2016 22:19:34 +0000 (22:19 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1725041 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hslf/usermodel/HSLFSimpleShape.java

index a03c251ffedc7d3c1cb4b6d27ffabf0e9882bfb6..6c905b81f04c48772745c75162c4ef50c128bdcb 100644 (file)
@@ -317,7 +317,7 @@ public abstract class HSLFSimpleShape extends HSLFShape implements SimpleShape<H
         infoAtom.setHyperlinkID(link.getId());
 
         HSLFEscherClientDataRecord cldata = getClientData(true);
-        cldata.addChild(infoAtom);
+        cldata.addChild(info);
     }
 
     public Guide getAdjustValue(String name) {