diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2008-03-12 19:24:05 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2008-03-12 19:24:05 +0000 |
commit | 107b703b63ee45bc0e04f1de603affa875cd3c6d (patch) | |
tree | dd70e1d55d64a7ee172930d72cb4ed451346975f | |
parent | e45c6abc465df180b04814247762f410ab53b461 (diff) | |
download | xmlgraphics-fop-107b703b63ee45bc0e04f1de603affa875cd3c6d.tar.gz xmlgraphics-fop-107b703b63ee45bc0e04f1de603affa875cd3c6d.zip |
Removed no longer used borderAndPaddingBPD field
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@636471 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java b/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java index f86554dbd..df23838f9 100644 --- a/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/table/TableCellLayoutManager.java @@ -76,7 +76,6 @@ public class TableCellLayoutManager extends BlockStackingLayoutManager private int cellIPD; private int totalHeight; private int usedBPD; - private int borderAndPaddingBPD; private boolean emptyCell = true; /** @@ -99,22 +98,6 @@ public class TableCellLayoutManager extends BlockStackingLayoutManager return getTable().isSeparateBorderModel(); } - /** {@inheritDoc} */ - public void initialize() { - borderAndPaddingBPD = 0; - borderAndPaddingBPD += getTableCell() - .getCommonBorderPaddingBackground().getBorderBeforeWidth(false); - borderAndPaddingBPD += getTableCell() - .getCommonBorderPaddingBackground().getBorderAfterWidth(false); - if (!isSeparateBorderModel()) { - borderAndPaddingBPD /= 2; - } - borderAndPaddingBPD += getTableCell().getCommonBorderPaddingBackground() - .getPaddingBefore(false, this); - borderAndPaddingBPD += getTableCell().getCommonBorderPaddingBackground() - .getPaddingAfter(false, this); - } - /** * @return the table owning this cell */ |