From f61860ab884eedf239565cf7b9415e0aa5c0ce36 Mon Sep 17 00:00:00 2001 From: Jeremias Maerki Date: Thu, 17 Jun 2010 11:56:13 +0000 Subject: [PATCH] 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 --- src/java/org/apache/fop/pdf/PDFAMode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /** -- 2.39.5