We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2153d4e commit e5ed061Copy full SHA for e5ed061
kernel/src/main/java/com/itextpdf/kernel/pdf/function/PdfType3Function.java
@@ -298,7 +298,12 @@ private List<IPdfFunction> checkAndGetFunctions(PdfArray functionsArray) {
298
if (functionsArray == null || functionsArray.size() == 0) {
299
throw new PdfException(KernelExceptionMessageConstant.INVALID_TYPE_3_FUNCTION_NULL_FUNCTIONS);
300
}
301
- Integer tempOutputSize = getRange() == null ? (Integer) null : getOutputSize();
+
302
+ Integer tempOutputSize = null;
303
+ if (getRange()!= null)
304
+ {
305
+ tempOutputSize = getOutputSize();
306
+ }
307
final List<IPdfFunction> tempFunctions = new ArrayList<>();
308
for (PdfObject funcObj : functionsArray) {
309
if (!(funcObj instanceof PdfDictionary)) {
0 commit comments