From 34867412683abe42cca05c217b731cfbae31af4d Mon Sep 17 00:00:00 2001 From: Vincent Hennebert Date: Mon, 26 Oct 2009 12:12:25 +0000 Subject: 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 --- src/java/org/apache/fop/layoutmgr/PageBreakingAlgorithm.java | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src') 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; } -- cgit v1.2.3