diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2007-03-28 15:41:08 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2007-03-28 15:41:08 +0000 |
commit | 1ac4f1f2b03e66b71c9f25f732c6c25897a1b7a7 (patch) | |
tree | da97c96bff995b3a64fa84ac3c0fe77520518e64 /src/java/org/apache/fop/layoutmgr | |
parent | 26f1974ba8c935c6ad8c4c774218cba773002ffe (diff) | |
download | xmlgraphics-fop-1ac4f1f2b03e66b71c9f25f732c6c25897a1b7a7.tar.gz xmlgraphics-fop-1ac4f1f2b03e66b71c9f25f732c6c25897a1b7a7.zip |
Replace deprecated addBorders method with the new ones in addAreas
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@523374 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/layoutmgr')
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java b/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java index 223d80a7f..0d68c0bbe 100644 --- a/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java @@ -352,8 +352,10 @@ public class TableCellLayoutManager extends BlockStackingLayoutManager if (isSeparateBorderModel()) { if (!emptyCell || getTableCell().showEmptyCells()) { - TraitSetter.addBorders(curBlockArea, - getTableCell().getCommonBorderPaddingBackground(), this); + TraitSetter.addBorders(curBlockArea, getTableCell().getCommonBorderPaddingBackground(), + false, false, false, false, this); + TraitSetter.addPadding(curBlockArea, getTableCell().getCommonBorderPaddingBackground(), + false, false, false, false, this); } } else { boolean[] outer = new boolean[] { |