]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
fixes a npe problem with setting up id references in footnote body child
authorKeiron Liddle <keiron@apache.org>
Wed, 24 Jan 2001 01:20:46 +0000 (01:20 +0000)
committerKeiron Liddle <keiron@apache.org>
Wed, 24 Jan 2001 01:20:46 +0000 (01:20 +0000)
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

index 76da2d0a551ed3c095499384b32bdc81a8e2553c..6fd9be84c31b726bd87705738ebb63f8af1ca030 100644 (file)
@@ -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) {