From: Javen O'Neal Date: Sun, 17 Apr 2016 00:32:32 +0000 (+0000) Subject: bug 59336: patch from Mark Murphy: replace deprecated usage of functions in CellUtil X-Git-Tag: REL_3_15_BETA2~304 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1a9d14e38a33ceea9be840ccc662bd0c3dd3dbd9;p=poi.git bug 59336: patch from Mark Murphy: replace deprecated usage of functions in CellUtil git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1739533 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/poi/hssf/util/HSSFCellUtil.java b/src/java/org/apache/poi/hssf/util/HSSFCellUtil.java index d5e2fc7cfd..f7bded47ae 100644 --- a/src/java/org/apache/poi/hssf/util/HSSFCellUtil.java +++ b/src/java/org/apache/poi/hssf/util/HSSFCellUtil.java @@ -104,7 +104,7 @@ public final class HSSFCellUtil { * @see HSSFCellStyle for alignment options */ public static void setAlignment(HSSFCell cell, HSSFWorkbook workbook, short align) { - CellUtil.setAlignment(cell, workbook, align); + CellUtil.setAlignment(cell, align); } /** @@ -116,7 +116,7 @@ public final class HSSFCellUtil { * @deprecated 3.15 beta2. Removed in 3.17. Use {@link org.apache.poi.ss.util.CellUtil#setFont} instead. */ public static void setFont(HSSFCell cell, HSSFWorkbook workbook, HSSFFont font) { - CellUtil.setFont(cell, workbook, font); + CellUtil.setFont(cell, font); } /** @@ -134,7 +134,7 @@ public final class HSSFCellUtil { */ public static void setCellStyleProperty(HSSFCell cell, HSSFWorkbook workbook, String propertyName, Object propertyValue) { - CellUtil.setCellStyleProperty(cell, workbook, propertyName, propertyValue); + CellUtil.setCellStyleProperty(cell, propertyName, propertyValue); } /**