summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2009-10-26 12:12:25 +0000
committerVincent Hennebert <vhennebert@apache.org>2009-10-26 12:12:25 +0000
commit34867412683abe42cca05c217b731cfbae31af4d (patch)
tree2431fb7103004ae5205074a48e3c172c39bfa354
parentaf822593a3e4b4b2ed008c490612d3b811b32916 (diff)
downloadxmlgraphics-fop-34867412683abe42cca05c217b731cfbae31af4d.tar.gz
xmlgraphics-fop-34867412683abe42cca05c217b731cfbae31af4d.zip
Removed addition of stretching to footnoteSeparatorLength. That was done to the parameter instead of the field, which actually had no effect on the layout, plus it doesn't make sense.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@829761 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/java/org/apache/fop/layoutmgr/PageBreakingAlgorithm.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/PageBreakingAlgorithm.java b/src/java/org/apache/fop/layoutmgr/PageBreakingAlgorithm.java
index 83dea01bf..cab68a13f 100644
--- a/src/java/org/apache/fop/layoutmgr/PageBreakingAlgorithm.java
+++ b/src/java/org/apache/fop/layoutmgr/PageBreakingAlgorithm.java
@@ -117,10 +117,6 @@ class PageBreakingAlgorithm extends BreakingAlgorithm {
this.layoutListener = layoutListener;
best = new BestPageRecords();
this.footnoteSeparatorLength = (MinOptMax) footnoteSeparatorLength.clone();
- // add some stretch, to avoid a restart for every page containing footnotes
- if (footnoteSeparatorLength.min == footnoteSeparatorLength.max) {
- footnoteSeparatorLength.max += 10000;
- }
this.autoHeight = autoHeight;
this.favorSinglePart = favorSinglePart;
}