diff options
author | PJ Fanning <fanningpj@apache.org> | 2018-02-26 20:26:48 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2018-02-26 20:26:48 +0000 |
commit | 314f7f53eada5e40c2c06f383d10fe53abb615a1 (patch) | |
tree | 3881fa3627605a0a44fc13d18710a767af55df80 /src/testcases/org/apache/poi/hssf | |
parent | 4ad4d76241eae44386e52c3a23ca1b7ca28d1458 (diff) | |
download | poi-314f7f53eada5e40c2c06f383d10fe53abb615a1.tar.gz poi-314f7f53eada5e40c2c06f383d10fe53abb615a1.zip |
tidy up API for font index
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825409 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/hssf')
-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 ca96f0d7c4..46a84b61a6 100644 --- a/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java +++ b/src/testcases/org/apache/poi/hssf/usermodel/TestBugs.java @@ -3130,12 +3130,12 @@ public final class TestBugs extends BaseTestBugzillaIssues { Cell cell = row.getCell(1); CellStyle style = cell.getCellStyle(); - assertEquals(26, style.getFontIntIndex()); + assertEquals(26, style.getFontIndexAsInt()); row = sheet.getRow(3); cell = row.getCell(1); style = cell.getCellStyle(); - assertEquals(28, style.getFontIntIndex()); + assertEquals(28, style.getFontIndexAsInt()); // check the two fonts HSSFFont font = wb.getFontAt(26); |