]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fix for ArrayOutOfBoundsException in resetPosition().
authorJeremias Maerki <jeremias@apache.org>
Tue, 8 Feb 2005 16:37:23 +0000 (16:37 +0000)
committerJeremias Maerki <jeremias@apache.org>
Tue, 8 Feb 2005 16:37:23 +0000 (16:37 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198397 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/layoutmgr/table/Row.java

index 9747af908bdcd5e7f4c77c6c304696a3b34ed764..a76d8db3c41cbebf137524d5371daee3ceb2c87b 100644 (file)
@@ -387,7 +387,7 @@ public class Row extends BlockStackingLayoutManager {
     protected void reset(Position pos) {
         //LayoutManager curLM; // currently active LM
         CellInfo curCellInfo;
-        int cellIndex = 0;
+        int cellIndex = 1;
 
         if (pos == null) {
             while ((curCellInfo = getCellInfo(cellIndex)) != null) {