bug 57523: off by one error

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1749269 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Javen O'Neal 2016-06-20 06:49:13 +00:00
parent 54d0ebe889
commit 4df03b8762

View File

@ -3072,7 +3072,7 @@ public final class TestXSSFBugs extends BaseTestBugzillaIssues {
public void test57523() { public void test57523() {
Workbook wb = XSSFTestDataSamples.openSampleWorkbook("57523.xlsx"); Workbook wb = XSSFTestDataSamples.openSampleWorkbook("57523.xlsx");
Sheet sheet = wb.getSheet("Attribute Master"); Sheet sheet = wb.getSheet("Attribute Master");
Row row = sheet.getRow(16); Row row = sheet.getRow(15);
int N = CellReference.convertColStringToIndex("N"); int N = CellReference.convertColStringToIndex("N");
Cell N16 = row.getCell(N); Cell N16 = row.getCell(N);