mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-26 06:57:26 +00:00
Fixed #1858 Adding same ExtGState multiple times
This commit is contained in:
@@ -454,7 +454,9 @@ public class PDFPage extends PDFObject implements Serializable {
|
||||
}
|
||||
|
||||
public void addExtGStateResource(String resource) {
|
||||
extGStateResources.add(resource);
|
||||
if (!extGStateResources.contains(resource)) {
|
||||
extGStateResources.add(resource);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user