diff options
Diffstat (limited to 'src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java')
-rw-r--r-- | src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java b/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java index 66657a0fd9..24c5bf4c92 100644 --- a/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java +++ b/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java @@ -2850,12 +2850,12 @@ public final class TestBugs extends BaseTestBugzillaIssues { Cell cell = row.getCell(1); CellStyle style = cell.getCellStyle(); - assertEquals(26, style.getFontIndexAsInt()); + assertEquals(26, style.getFontIndex()); row = sheet.getRow(3); cell = row.getCell(1); style = cell.getCellStyle(); - assertEquals(28, style.getFontIndexAsInt()); + assertEquals(28, style.getFontIndex()); // check the two fonts HSSFFont font = wb.getFontAt(26); |