aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/org/apache/fop/fo/flow/Footnote.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/org/apache/fop/fo/flow/Footnote.java b/src/org/apache/fop/fo/flow/Footnote.java
index 6fd9be84c..3d66d665c 100644
--- a/src/org/apache/fop/fo/flow/Footnote.java
+++ b/src/org/apache/fop/fo/flow/Footnote.java
@@ -104,7 +104,7 @@ public class Footnote extends FObj {
} else {
Page page = area.getPage();
layoutFootnote(page, (FootnoteBody)fbody, area);
- }
+ }
}
}
if(fbody == null) {
@@ -134,7 +134,7 @@ public class Footnote extends FObj {
return false;
} else {
if(area != null) {
- area.setMaxHeight(area.getMaxHeight() - footArea.getHeight());
+ area.setMaxHeight(area.getMaxHeight() - footArea.getHeight() + oldHeight);
}
//bac.setMaxHeight(bac.getMaxHeight() - footArea.getHeight() + oldHeight);
if(bac.getFootnoteState() == 0) {