fix Range::insert<Table>Before() method result boundaries

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1145537 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Sergey Vladimirov 2011-07-12 10:47:53 +00:00
parent f845c5281c
commit bd1e675b9a
1 changed files with 1 additions and 1 deletions

View File

@ -629,7 +629,7 @@ public class Range { // TODO -instantiable superclass
cell = cell.insertAfter(parProps, StyleSheet.NIL_STYLE, String.valueOf('\u0007')); cell = cell.insertAfter(parProps, StyleSheet.NIL_STYLE, String.valueOf('\u0007'));
cell.setTableRowEnd(props); cell.setTableRowEnd(props);
} }
return new Table(_start, _start + (rows * (columns + 1)), this, 1); return new Table(_start, _start + (rows * (columns + 1)) * 2, this, 1);
} }
/** /**