]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Bugfix: PDF/A-1a mode was not properly reported.
authorJeremias Maerki <jeremias@apache.org>
Thu, 17 Jun 2010 11:56:13 +0000 (11:56 +0000)
committerJeremias Maerki <jeremias@apache.org>
Thu, 17 Jun 2010 11:56:13 +0000 (11:56 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@955560 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/pdf/PDFAMode.java

index 18c4a24899be32d850437cde74f46d2eca249deb..b5b764dd427ad954faf4fa5304b83460f624a710 100644 (file)
@@ -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);
     }
 
     /**