aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPJ Fanning <fanningpj@apache.org>2020-12-09 21:04:48 +0000
committerPJ Fanning <fanningpj@apache.org>2020-12-09 21:04:48 +0000
commite1bb2cca332c20b89cfbc6c6cb57ea7265d273dc (patch)
tree98d0f4346c1e85eb875012e6edd140a93853e8ae
parent93c8c1540e3b04202289c942ef0d5621f4754312 (diff)
downloadpoi-e1bb2cca332c20b89cfbc6c6cb57ea7265d273dc.tar.gz
poi-e1bb2cca332c20b89cfbc6c6cb57ea7265d273dc.zip
[bug-64972] HSSFPictureData#getPictureType() should return 0 for unknown picture type (to be consistent with other implementations)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1884271 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/java/org/apache/poi/hssf/usermodel/HSSFPictureData.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/poi/hssf/usermodel/HSSFPictureData.java b/src/java/org/apache/poi/hssf/usermodel/HSSFPictureData.java
index 4b7ee376fb..bf0ba3196e 100644
--- a/src/java/org/apache/poi/hssf/usermodel/HSSFPictureData.java
+++ b/src/java/org/apache/poi/hssf/usermodel/HSSFPictureData.java
@@ -121,7 +121,7 @@ public class HSSFPictureData implements PictureData
}
/**
- * @return the POI internal image type, 0 if not unknown image type (was -1 prior to 5.0.0 but
+ * @return the POI internal image type, 0 if unknown image type (was -1 prior to 5.0.0 but
* that was inconsistent with other {@link PictureData} implementations)
*
* @see Workbook#PICTURE_TYPE_DIB