]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Proper fix for Bugzilla 50987
authorVincent Hennebert <vhennebert@apache.org>
Tue, 5 Apr 2011 11:11:07 +0000 (11:11 +0000)
committerVincent Hennebert <vhennebert@apache.org>
Tue, 5 Apr 2011 11:11:07 +0000 (11:11 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1088973 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/render/pdf/PDFLogicalStructureHandler.java

index 1b28bc9e29828b2345f9503a0c34a6f455ca14c7..4fd66109a8a18939232a05137f888513b4e4952d 100644 (file)
@@ -296,7 +296,7 @@ class PDFLogicalStructureHandler {
         contentItem.put("Pg", this.currentPage);
         contentItem.put("Obj", link);
         PDFStructElem parent = (PDFStructElem) structTreeMap.get(structurePointer);
-        parentTree.getNums().put(structParent, link);
+        parentTree.getNums().put(structParent, parent);
         parent.addKid(contentItem);
     }