aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/flow/TableBody.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/TableBody.java')
-rw-r--r--src/java/org/apache/fop/fo/flow/TableBody.java14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/java/org/apache/fop/fo/flow/TableBody.java b/src/java/org/apache/fop/fo/flow/TableBody.java
index 20b60df95..570901046 100644
--- a/src/java/org/apache/fop/fo/flow/TableBody.java
+++ b/src/java/org/apache/fop/fo/flow/TableBody.java
@@ -46,11 +46,12 @@ import org.apache.fop.fo.properties.CommonRelativePosition;
*/
public class TableBody extends TableFObj {
// The value of properties relevant for fo:table-body.
- private CommonAccessibility commonAccessibility;
- private CommonAural commonAural;
private CommonBorderPaddingBackground commonBorderPaddingBackground;
- private CommonRelativePosition commonRelativePosition;
- private int visibility;
+ // Unused but valid items, commented out for performance:
+ // private CommonAccessibility commonAccessibility;
+ // private CommonAural commonAural;
+ // private CommonRelativePosition commonRelativePosition;
+ // private int visibility;
// End of property values
private PropertyList savedPropertyList;
@@ -80,11 +81,7 @@ public class TableBody extends TableFObj {
* @see FObj#bind(PropertyList)
*/
public void bind(PropertyList pList) throws FOPException {
- commonAccessibility = pList.getAccessibilityProps();
- commonAural = pList.getAuralProps();
commonBorderPaddingBackground = pList.getBorderPaddingBackgroundProps();
- commonRelativePosition = pList.getRelativePositionProps();
- visibility = pList.get(PR_VISIBILITY).getEnum();
super.bind(pList);
//Used by convertCellsToRows()
savedPropertyList = pList;
@@ -240,6 +237,7 @@ public class TableBody extends TableFObj {
* @throws FOPException if there's a problem binding the TableRow's
* properties.
*/
+ // TODO: This is currently unused. Why is it here?
private void convertCellsToRows() throws FOPException {
//getLogger().debug("Converting cells to rows...");
List cells = new java.util.ArrayList(childNodes);