From 7c34c8daa841888fcf338d14b89a2295d2d65215 Mon Sep 17 00:00:00 2001 From: Vincent Hennebert Date: Tue, 5 Apr 2011 11:11:07 +0000 Subject: [PATCH] Proper fix for Bugzilla 50987 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1088973 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/fop/render/pdf/PDFLogicalStructureHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/org/apache/fop/render/pdf/PDFLogicalStructureHandler.java b/src/java/org/apache/fop/render/pdf/PDFLogicalStructureHandler.java index 1b28bc9e2..4fd66109a 100644 --- a/src/java/org/apache/fop/render/pdf/PDFLogicalStructureHandler.java +++ b/src/java/org/apache/fop/render/pdf/PDFLogicalStructureHandler.java @@ -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); } -- 2.39.5