summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2010-06-17 11:56:13 +0000
committerJeremias Maerki <jeremias@apache.org>2010-06-17 11:56:13 +0000
commitf61860ab884eedf239565cf7b9415e0aa5c0ce36 (patch)
tree9c85aedd8731e99ac18f15203bd0f062dabc8571
parentb36aeb2cb850c0cf1ae70efaeea3c2e06c32b8a1 (diff)
downloadxmlgraphics-fop-f61860ab884eedf239565cf7b9415e0aa5c0ce36.tar.gz
xmlgraphics-fop-f61860ab884eedf239565cf7b9415e0aa5c0ce36.zip
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
-rw-r--r--src/java/org/apache/fop/pdf/PDFAMode.java2
1 files changed, 1 insertions, 1 deletions
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);
}
/**