aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop')
-rw-r--r--src/org/apache/fop/fo/flow/TableCell.java4
-rw-r--r--src/org/apache/fop/fo/flow/TableRow.java3
2 files changed, 5 insertions, 2 deletions
diff --git a/src/org/apache/fop/fo/flow/TableCell.java b/src/org/apache/fop/fo/flow/TableCell.java
index 29188e2e5..0a5f69b25 100644
--- a/src/org/apache/fop/fo/flow/TableCell.java
+++ b/src/org/apache/fop/fo/flow/TableCell.java
@@ -160,7 +160,9 @@ public class TableCell extends FObj {
return new Status(Status.AREA_FULL_SOME);
}
}
- height += blockArea.getHeight();
+ // bug fix from Eric Schaeffer
+ // height += blockArea.getHeight();
+ height = blockArea.getHeight();
}
blockArea.end();
diff --git a/src/org/apache/fop/fo/flow/TableRow.java b/src/org/apache/fop/fo/flow/TableRow.java
index 401436983..bd015378c 100644
--- a/src/org/apache/fop/fo/flow/TableRow.java
+++ b/src/org/apache/fop/fo/flow/TableRow.java
@@ -191,7 +191,8 @@ public class TableRow extends FObj {
blockArea.end();
area.addChild(blockArea);
area.addDisplaySpace(largestCellHeight);
- area.increaseHeight(largestCellHeight);
+ // bug fix from Eric Schaeffer
+ //area.increaseHeight(largestCellHeight);
if (spaceAfter != 0) {
area.addDisplaySpace(spaceAfter);