]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Removed no longer useful setCurrentColumnIndex method on ColumnNumberManager. The...
authorVincent Hennebert <vhennebert@apache.org>
Tue, 30 Oct 2007 17:42:10 +0000 (17:42 +0000)
committerVincent Hennebert <vhennebert@apache.org>
Tue, 30 Oct 2007 17:42:10 +0000 (17:42 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@590177 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/fo/flow/ColumnNumberManager.java
src/java/org/apache/fop/fo/flow/TableFObj.java

index bc31440ea2a3fc8a52ee353c756956a0cd02ff58..038a85706172aa6c928b352e26c92723427921e1 100644 (file)
@@ -59,6 +59,7 @@ public class ColumnNumberManager {
             usedColumnIndices.set(i);
         }
 
+        columnNumber = end + 1;
         while (usedColumnIndices.get(columnNumber - 1)) {
             columnNumber++;
         }
@@ -102,15 +103,4 @@ public class ColumnNumberManager {
         return usedColumnIndices.get(colNr - 1);
     }
 
-    /**
-     * Sets the current column index to a specific value
-     * (used by ColumnNumberPropertyMaker.make() in case the 
-     *  column-number was explicitly specified on the cell)
-     * 
-     * @param newIndex  the new column index
-     */
-    void setCurrentColumnIndex(int newIndex) {
-        columnNumber = newIndex;
-    }
-
 }
index e00559d3eb691e67ad360b53d68693b2401c64ae..68aaf2bf51ac2b053b11358c6a041c3899f0dbbc 100644 (file)
@@ -165,8 +165,6 @@ public abstract class TableFObj extends FObj {
                 }
             }
 
-            columnIndexManager.setCurrentColumnIndex(columnIndex);
-
             int colSpan = propertyList.get(Constants.PR_NUMBER_COLUMNS_SPANNED)
                                 .getNumeric().getValue();
             int i = -1;