]> source.dussan.org Git - poi.git/commitdiff
increase max size of hwmf picture
authorPJ Fanning <fanningpj@apache.org>
Tue, 22 Mar 2022 14:58:47 +0000 (14:58 +0000)
committerPJ Fanning <fanningpj@apache.org>
Tue, 22 Mar 2022 14:58:47 +0000 (14:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899135 13f79535-47bb-0310-9956-ffa450edef68

poi-scratchpad/src/main/java/org/apache/poi/hwmf/usermodel/HwmfPicture.java

index 89ccb35395dd4dc9770d295bc57b6e6404e75b5a..0ac072ddd2341a57f62e01bade80cd451de31e68 100644 (file)
@@ -55,7 +55,7 @@ import org.apache.poi.util.Units;
 
 public class HwmfPicture implements Iterable<HwmfRecord>, GenericRecord {
     /** Max. record length - processing longer records will throw an exception */
-    public static final int DEFAULT_MAX_RECORD_LENGTH = 50_000_000;
+    public static final int DEFAULT_MAX_RECORD_LENGTH = 100_000_000;
     public static int MAX_RECORD_LENGTH = DEFAULT_MAX_RECORD_LENGTH;
 
     private static final Logger LOG = LogManager.getLogger(HwmfPicture.class);