From e1bb2cca332c20b89cfbc6c6cb57ea7265d273dc Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Wed, 9 Dec 2020 21:04:48 +0000 Subject: [PATCH] [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 --- src/java/org/apache/poi/hssf/usermodel/HSSFPictureData.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5