increase max size of hwmf picture

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1899135 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2022-03-22 14:58:47 +00:00
parent 0bc81c57fd
commit a1463e32e5

View 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);