]> source.dussan.org Git - poi.git/commitdiff
bug 59336: patch from Mark Murphy: replace deprecated usage of functions in CellUtil
authorJaven O'Neal <onealj@apache.org>
Sun, 17 Apr 2016 00:32:32 +0000 (00:32 +0000)
committerJaven O'Neal <onealj@apache.org>
Sun, 17 Apr 2016 00:32:32 +0000 (00:32 +0000)
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

index d5e2fc7cfd9d2979a1a0cbaebbb96980a7acf1b9..f7bded47ae167c60b397e166fffa8027bb641681 100644 (file)
@@ -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);
     }
 
     /**