get TestIndirectFunctionFromSpreadsheet to pass even though code looks wrong

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1898313 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2022-02-22 09:15:38 +00:00
parent f090436eca
commit 9d2da7453c
1 changed files with 4 additions and 4 deletions

View File

@ -314,15 +314,15 @@ public final class OperationEvaluationContext {
case COLUMN:
firstRow = 0;
lastRow = ssVersion.getLastRowIndex();
firstCol = parseColRef(refStrPart1);
lastCol = parseColRef(refStrPart2);
firstCol = parseRowRef(refStrPart1);
lastCol = parseRowRef(refStrPart2);
break;
case ROW:
// support of cell range in the form of integer:integer
firstCol = 0;
lastCol = ssVersion.getLastColumnIndex();
firstRow = parseRowRef(refStrPart1);
lastRow = parseRowRef(refStrPart2);
firstRow = parseColRef(refStrPart1);
lastRow = parseColRef(refStrPart2);
break;
case CELL:
CellReference cr;