Skip to content

Commit

Permalink
PDF/UA-2. Update obtainFlavour in GFModelParser
Browse files Browse the repository at this point in the history
  • Loading branch information
MaximPlusov committed Nov 29, 2023
1 parent ccaf8b8 commit 76110c1
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 76110c1

Please sign in to comment.