diff options
author | PJ Fanning <fanningpj@apache.org> | 2017-06-28 10:34:37 +0000 |
---|---|---|
committer | PJ Fanning <fanningpj@apache.org> | 2017-06-28 10:34:37 +0000 |
commit | b68b916d0890a0088db173ea08477d48f80dfc33 (patch) | |
tree | 19e992813e160c50e2e8f884bc3d8ce8217e81bc /src/examples | |
parent | 995a28cd868a83fbcbba8d20d459b1eecc45aae4 (diff) | |
download | poi-b68b916d0890a0088db173ea08477d48f80dfc33.tar.gz poi-b68b916d0890a0088db173ea08477d48f80dfc33.zip |
Remove some deprecated *SSF APIs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1800147 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/examples')
-rw-r--r-- | src/examples/src/org/apache/poi/hssf/usermodel/examples/RepeatingRowsAndColumns.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/src/org/apache/poi/hssf/usermodel/examples/RepeatingRowsAndColumns.java b/src/examples/src/org/apache/poi/hssf/usermodel/examples/RepeatingRowsAndColumns.java index 6ceee7c264..9299b7cbde 100644 --- a/src/examples/src/org/apache/poi/hssf/usermodel/examples/RepeatingRowsAndColumns.java +++ b/src/examples/src/org/apache/poi/hssf/usermodel/examples/RepeatingRowsAndColumns.java @@ -37,7 +37,7 @@ public class RepeatingRowsAndColumns { HSSFFont boldFont = wb.createFont(); boldFont.setFontHeightInPoints((short)22); - boldFont.setBoldweight(HSSFFont.BOLDWEIGHT_BOLD); + boldFont.setBold(true); HSSFCellStyle boldStyle = wb.createCellStyle(); boldStyle.setFont(boldFont); |