Skip to content

Commit

Permalink
Merge pull request #615 from veraPDF/pdfua2
Browse files Browse the repository at this point in the history
PDF/UA-2. Update obtainFlavour in GFModelParser
  • Loading branch information
MaximPlusov authored Nov 29, 2023
2 parents 0a9d69c + 76110c1 commit 355c8f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ private static PDFAFlavour obtainFlavour(PDDocument document, PDFAFlavour defaul
identificationConformance = "";
}
PDFAFlavour pdfaFlavour = PDFAFlavour.byFlavourId(prefix + identificationPart + identificationConformance);
if (pdfaFlavour == PDFAFlavour.NO_FLAVOUR || pdfaFlavour == PDFAFlavour.PDFUA_2) {
if (pdfaFlavour == PDFAFlavour.NO_FLAVOUR) {
return defaultFlavour;
}
return pdfaFlavour;
Expand Down

0 comments on commit 355c8f2

Please sign in to comment.