mirror of https://github.com/apache/poi.git
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:
parent
80de4916ad
commit
60801c5017
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue