aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVincent Hennebert <vhennebert@apache.org>2009-10-29 15:13:11 +0000
committerVincent Hennebert <vhennebert@apache.org>2009-10-29 15:13:11 +0000
commita964e7ec2638b4373ef453e341b5cea52a169877 (patch)
tree639d188461e75c6a6aeaa10a9870746d6bc323dc /src
parent24cac3651c6d10e027990e85b6037a3e7cc2c4d6 (diff)
downloadxmlgraphics-fop-a964e7ec2638b4373ef453e341b5cea52a169877.tar.gz
xmlgraphics-fop-a964e7ec2638b4373ef453e341b5cea52a169877.zip
Bugzilla #48082: value of conditional space not always taken into account in the calculation of a table's height
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@830996 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/fop/layoutmgr/table/ActiveCell.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/table/ActiveCell.java b/src/java/org/apache/fop/layoutmgr/table/ActiveCell.java
index f249d769f..abcde41c7 100644
--- a/src/java/org/apache/fop/layoutmgr/table/ActiveCell.java
+++ b/src/java/org/apache/fop/layoutmgr/table/ActiveCell.java
@@ -398,7 +398,9 @@ class ActiveCell {
private void increaseCurrentStep(int limit) {
if (nextStep.end < elementList.size() - 1) {
while (afterNextStep.totalLength <= limit && nextStep.breakClass == Constants.EN_AUTO) {
+ int condBeforeContentLength = nextStep.condBeforeContentLength;
nextStep.set(afterNextStep);
+ nextStep.condBeforeContentLength = condBeforeContentLength;
if (afterNextStep.end >= elementList.size() - 1) {
break;
}