Patch from bug #56328 from David North - the maximum row number in a formula depends on HSSF vs XSSF

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1582892 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Nick Burch 2014-03-28 21:54:30 +00:00
parent 80de4916ad
commit 60801c5017
1 changed files with 1 additions and 1 deletions

View File

@ -701,7 +701,7 @@ public final class FormulaParser {
} catch (NumberFormatException e) {
return null;
}
if (i<1 || i>65536) {
if (i<1 || i>_ssVersion.getMaxRows()) {
return null;
}
} else {