]> source.dussan.org Git - poi.git/commitdiff
Patch from Paolo from bug #44481 - getVerticallyCenter shouldn't take a parameter...
authorNick Burch <nick@apache.org>
Mon, 3 Mar 2008 15:01:18 +0000 (15:01 +0000)
committerNick Burch <nick@apache.org>
Mon, 3 Mar 2008 15:01:18 +0000 (15:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@633114 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/poi/hssf/usermodel/HSSFSheet.java

index ee8aeac59098b70b047975e1b5b90c14eac918b7..9f7b17ad830c8d1b918db6dca1997542a470f240 100644 (file)
@@ -628,10 +628,17 @@ public class HSSFSheet
     }
 
     /**
-     * Determine whether printed output for this sheet will be vertically centered.
+     * TODO: Boolean not needed, remove after next release
+     * @deprecated use getVerticallyCenter() instead
      */
+    public boolean getVerticallyCenter(boolean value) {
+        return getVerticallyCenter();
+    }
 
-    public boolean getVerticallyCenter(boolean value)
+    /**
+     * Determine whether printed output for this sheet will be vertically centered.
+     */
+    public boolean getVerticallyCenter()
     {
         VCenterRecord record =
                 (VCenterRecord) sheet.findFirstRecordBySid(VCenterRecord.sid);