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 13e39502f9
commit f52fe377ae

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 {