aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java b/src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java
index 511c8559a..6847021f1 100644
--- a/src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java
+++ b/src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java
@@ -916,7 +916,8 @@ public class TableContentLayoutManager implements PercentBaseContext {
if (gu == null
&& !currentGU.isEmpty()
&& currentGU.getColSpanIndex() == 0
- && currentGU.isLastGridUnitColSpan()) {
+ && currentGU.isLastGridUnitColSpan()
+ && (forcedFlush || currentGU.isLastGridUnitRowSpan())) {
gu = currentGU.getPrimary();
}
if (gu != null) {