]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Replace deprecated addBorders method with the new ones in addAreas
authorVincent Hennebert <vhennebert@apache.org>
Wed, 28 Mar 2007 15:41:08 +0000 (15:41 +0000)
committerVincent Hennebert <vhennebert@apache.org>
Wed, 28 Mar 2007 15:41:08 +0000 (15:41 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@523374 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java

index 223d80a7f4fac523e55257c5eb5ddbdc641d2f66..0d68c0bbe2b6ce193bb5ee74bc894eac801dc238 100644 (file)
@@ -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[] {