From 1a9d14e38a33ceea9be840ccc662bd0c3dd3dbd9 Mon Sep 17 00:00:00 2001 From: Javen O'Neal Date: Sun, 17 Apr 2016 00:32:32 +0000 Subject: [PATCH] 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 --- src/java/org/apache/poi/hssf/util/HSSFCellUtil.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); } /** -- 2.39.5