From: Jeremias Maerki Date: Thu, 17 Jun 2010 11:56:13 +0000 (+0000) Subject: Bugfix: PDF/A-1a mode was not properly reported. X-Git-Tag: fop-1_0~22 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f61860ab884eedf239565cf7b9415e0aa5c0ce36;p=xmlgraphics-fop.git Bugfix: PDF/A-1a mode was not properly reported. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@955560 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/java/org/apache/fop/pdf/PDFAMode.java b/src/java/org/apache/fop/pdf/PDFAMode.java index 18c4a2489..b5b764dd4 100644 --- a/src/java/org/apache/fop/pdf/PDFAMode.java +++ b/src/java/org/apache/fop/pdf/PDFAMode.java @@ -49,7 +49,7 @@ public final class PDFAMode { * @return true if this mode obeys the restrictions established by PDF/A-1a. */ public boolean isPDFA1LevelA() { - return (this != DISABLED); + return (this == PDFA_1A); } /**