From f31855c5db28ec6de4f575b8d03b807ec84e12d3 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Wed, 24 Jan 2001 01:20:46 +0000 Subject: [PATCH] fixes a npe problem with setting up id references in footnote body child git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193982 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/fo/flow/Footnote.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/org/apache/fop/fo/flow/Footnote.java b/src/org/apache/fop/fo/flow/Footnote.java index 76da2d0a5..6fd9be84c 100644 --- a/src/org/apache/fop/fo/flow/Footnote.java +++ b/src/org/apache/fop/fo/flow/Footnote.java @@ -120,6 +120,7 @@ public class Footnote extends FObj { try { BodyAreaContainer bac = p.getBody(); AreaContainer footArea = bac.getFootnoteReferenceArea(); + footArea.setIDReferences(bac.getIDReferences()); int basePos = footArea.getCurrentYPosition() - footArea.getHeight(); int oldHeight = footArea.getHeight(); if(area != null) { -- 2.39.5