summaryrefslogtreecommitdiffstats
path: root/src/examples
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2017-06-28 10:34:37 +0000
committerPJ Fanning <fanningpj@apache.org>2017-06-28 10:34:37 +0000
commitb68b916d0890a0088db173ea08477d48f80dfc33 (patch)
tree19e992813e160c50e2e8f884bc3d8ce8217e81bc /src/examples
parent995a28cd868a83fbcbba8d20d459b1eecc45aae4 (diff)
downloadpoi-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.java2
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);