You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ke...@apache.org on 2001/01/24 02:20:47 UTC
cvs commit: xml-fop/src/org/apache/fop/fo/flow Footnote.java
keiron 01/01/23 17:20:47
Modified: src/org/apache/fop/fo/flow Footnote.java
Log:
fixes a npe problem with setting up id references in footnote body child
Revision Changes Path
1.2 +2 -1 xml-fop/src/org/apache/fop/fo/flow/Footnote.java
Index: Footnote.java
===================================================================
RCS file: /home/cvs/xml-fop/src/org/apache/fop/fo/flow/Footnote.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Footnote.java 2001/01/10 23:56:19 1.1
+++ Footnote.java 2001/01/24 01:20:46 1.2
@@ -1,4 +1,4 @@
-/*-- $Id: Footnote.java,v 1.1 2001/01/10 23:56:19 keiron Exp $ --
+/*-- $Id: Footnote.java,v 1.2 2001/01/24 01:20:46 keiron Exp $ --
============================================================================
The Apache Software License, Version 1.1
@@ -120,6 +120,7 @@
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) {