]> source.dussan.org Git - poi.git/commitdiff
fix lost cell properties (and row shift)
authorSergey Vladimirov <sergey@apache.org>
Tue, 5 Jul 2011 14:35:54 +0000 (14:35 +0000)
committerSergey Vladimirov <sergey@apache.org>
Tue, 5 Jul 2011 14:35:54 +0000 (14:35 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143079 13f79535-47bb-0310-9956-ffa450edef68

src/scratchpad/src/org/apache/poi/hwpf/usermodel/Table.java

index 69887662121b0449656887e710c2777150f7ab33..c37f76ff8010441d937de36b467397623e0d5d86 100644 (file)
@@ -41,8 +41,8 @@ public final class Table extends Range
             rowEnd++;
             if ( p.isTableRowEnd() && p.getTableLevel() == levelNum )
             {
-                _rows.add( new TableRow( rowStart, rowEnd + 1, this, levelNum ) );
-                rowStart = rowEnd + 1;
+                _rows.add( new TableRow( rowStart, rowEnd, this, levelNum ) );
+                rowStart = rowEnd;
             }
         }
     }