aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/fo/flow/Table.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/fo/flow/Table.java')
-rw-r--r--src/org/apache/fop/fo/flow/Table.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/org/apache/fop/fo/flow/Table.java b/src/org/apache/fop/fo/flow/Table.java
index 1e8db211c..3ec4077ba 100644
--- a/src/org/apache/fop/fo/flow/Table.java
+++ b/src/org/apache/fop/fo/flow/Table.java
@@ -72,7 +72,9 @@ public class Table extends FObj {
* Must override in subclasses if their content can be laid out.
*/
public void addLayoutManager(List list) {
- TableLayoutManager tlm = new TableLayoutManager(this);
+ TableLayoutManager tlm = new TableLayoutManager();
+ tlm.setUserAgent(getUserAgent());
+ tlm.setFObj(this);
tlm.setColumns(columns);
if(tableHeader != null) {
tlm.setTableHeader(tableHeader.getLayoutManager());