diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2011-03-22 14:55:21 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2011-03-22 14:55:21 +0000 |
commit | 823d0e968d25875f9774f62f2f5264863cb35ba9 (patch) | |
tree | cc995c8eceeb717d64c6da5ab0c9acc228265460 /src | |
parent | 23a5eabe532f30bf0a84ff4dd31fe79c35c0220f (diff) | |
download | xmlgraphics-fop-823d0e968d25875f9774f62f2f5264863cb35ba9.tar.gz xmlgraphics-fop-823d0e968d25875f9774f62f2f5264863cb35ba9.zip |
Bugfix: keep-together does not apply to fo:table-cell
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1084205 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java b/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java index ded18384d..d5f259b38 100644 --- a/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java @@ -553,12 +553,8 @@ public class TableCellLayoutManager extends BlockStackingLayoutManager /** {@inheritDoc} */ public Keep getKeepTogether() { - Keep keep = Keep.KEEP_AUTO; - if (primaryGridUnit.getRow() != null) { - keep = Keep.getKeep(primaryGridUnit.getRow().getKeepTogether()); - } - keep = keep.compare(getParentKeepTogether()); - return keep; + // keep-together does not apply to fo:table-cell + return Keep.KEEP_AUTO; } /** {@inheritDoc} */ |