aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas L. Delmelle <adelmelle@apache.org>2009-07-09 06:33:32 +0000
committerAndreas L. Delmelle <adelmelle@apache.org>2009-07-09 06:33:32 +0000
commit723dfb2b3afa35f9ce20b0a7071f0f951c0598bd (patch)
tree551b8d2b2befe9a09d8827ac5d79f72e57000ba6
parentce24c2ff5177fa7088177347553dab8e1bc00e85 (diff)
downloadxmlgraphics-fop-723dfb2b3afa35f9ce20b0a7071f0f951c0598bd.tar.gz
xmlgraphics-fop-723dfb2b3afa35f9ce20b0a7071f0f951c0598bd.zip
Undid change related to column-keeps
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@792411 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/java/org/apache/fop/layoutmgr/PageBreakingAlgorithm.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/PageBreakingAlgorithm.java b/src/java/org/apache/fop/layoutmgr/PageBreakingAlgorithm.java
index 29fd4a173..3fa2e1f91 100644
--- a/src/java/org/apache/fop/layoutmgr/PageBreakingAlgorithm.java
+++ b/src/java/org/apache/fop/layoutmgr/PageBreakingAlgorithm.java
@@ -573,11 +573,11 @@ class PageBreakingAlgorithm extends BreakingAlgorithm {
splitLength += element.getW();
} else {
// element is a penalty
- //if (element.getP() < KnuthElement.INFINITE) {
+ if (element.getP() < KnuthElement.INFINITE) {
// end of the sub-sequence
index = noteListIterator.previousIndex();
break;
- //}
+ }
}
}
}