From c83b0f893ee4e383be8b5c26e5ddf6492519a9fd Mon Sep 17 00:00:00 2001 From: "Andreas L. Delmelle" Date: Tue, 8 Aug 2006 15:40:12 +0000 Subject: [PATCH] Small update in the table-layout code git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@429694 13f79535-47bb-0310-9956-ffa450edef68 --- .../fop/layoutmgr/table/TableContentLayoutManager.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java b/src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java index a5eeb1093..1c3045e52 100644 --- a/src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java +++ b/src/java/org/apache/fop/layoutmgr/table/TableContentLayoutManager.java @@ -76,6 +76,8 @@ public class TableContentLayoutManager implements PercentBaseContext { private int startXOffset; private int usedBPD; + + private TableStepper stepper = new TableStepper(this); /** * Main constructor @@ -577,8 +579,7 @@ public class TableContentLayoutManager implements PercentBaseContext { log.debug(" height=" + rowHeights[i] + " explicit=" + explicitRowHeights[i]); } } - TableStepper stepper = new TableStepper(this); - LinkedList returnedList = stepper.getCombinedKnuthElementsForRowGroup( + LinkedList returnedList = this.stepper.getCombinedKnuthElementsForRowGroup( context, rowGroup, maxColumnCount, bodyType); if (returnedList != null) { returnList.addAll(returnedList); -- 2.39.5