From: Sergey Vladimirov Date: Tue, 5 Jul 2011 14:35:54 +0000 (+0000) Subject: fix lost cell properties (and row shift) X-Git-Tag: REL_3_8_BETA4~308 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9746938aca65eae12d28e49dd5de25c18fb86e13;p=poi.git fix lost cell properties (and row shift) git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1143079 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Table.java b/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Table.java index 6988766212..c37f76ff80 100644 --- a/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Table.java +++ b/src/scratchpad/src/org/apache/poi/hwpf/usermodel/Table.java @@ -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; } } }