aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2011-04-05 11:11:07 +0000
committerVincent Hennebert <vhennebert@apache.org>2011-04-05 11:11:07 +0000
commit7c34c8daa841888fcf338d14b89a2295d2d65215 (patch)
treed662ed1e7fbb0f3564dd75d18b2b64cae32db6b1
parentddea0884f85429bdd7295eed7787778399b6b016 (diff)
downloadxmlgraphics-fop-7c34c8daa841888fcf338d14b89a2295d2d65215.tar.gz
xmlgraphics-fop-7c34c8daa841888fcf338d14b89a2295d2d65215.zip
Proper fix for Bugzilla 50987
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1088973 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/java/org/apache/fop/render/pdf/PDFLogicalStructureHandler.java2
1 files changed, 1 insertions, 1 deletions
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);
}