diff options
author | Vincent Hennebert <vhennebert@apache.org> | 2008-01-24 16:51:53 +0000 |
---|---|---|
committer | Vincent Hennebert <vhennebert@apache.org> | 2008-01-24 16:51:53 +0000 |
commit | 6228167d445d4116243142819a9ce214b4cf4fa8 (patch) | |
tree | bb9dfd4526d81267bde58292f8e35de46862a7b0 /src/java/org/apache/fop/fo/flow/table/PrimaryGridUnit.java | |
parent | c1492fcb2473e44a309be8fd5e432f1cc7744d4c (diff) | |
download | xmlgraphics-fop-6228167d445d4116243142819a9ce214b4cf4fa8.tar.gz xmlgraphics-fop-6228167d445d4116243142819a9ce214b4cf4fa8.zip |
Removed no longer needed reference to TableColumn in GridUnit
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@614924 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/table/PrimaryGridUnit.java')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/table/PrimaryGridUnit.java | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/java/org/apache/fop/fo/flow/table/PrimaryGridUnit.java b/src/java/org/apache/fop/fo/flow/table/PrimaryGridUnit.java index b73cd62d7..4c4ffa9ce 100644 --- a/src/java/org/apache/fop/fo/flow/table/PrimaryGridUnit.java +++ b/src/java/org/apache/fop/fo/flow/table/PrimaryGridUnit.java @@ -56,14 +56,13 @@ public class PrimaryGridUnit extends GridUnit { * * @param cell table cell which occupies this grid unit * @param row the table-row element this grid unit belongs to (if any) - * @param column table column this grid unit belongs to * @param colIndex index of the column this grid unit belongs to, zero-based */ - PrimaryGridUnit(TableCell cell, TableRow row, TableColumn column, int colIndex) { - super(cell, row, column, 0, 0); + PrimaryGridUnit(TableCell cell, TableRow row, int colIndex) { + super(cell, row, 0, 0); this.colIndex = colIndex; - this.isSeparateBorderModel = column.getTable().isSeparateBorderModel(); // TODO - this.halfBorderSeparationBPD = column.getTable().getBorderSeparation().getBPD().getLength() + this.isSeparateBorderModel = cell.getTable().isSeparateBorderModel(); // TODO + this.halfBorderSeparationBPD = cell.getTable().getBorderSeparation().getBPD().getLength() .getValue() / 2; // TODO } |