aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/FOPropertyMapping.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/fo/FOPropertyMapping.java')
-rw-r--r--src/java/org/apache/fop/fo/FOPropertyMapping.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/fo/FOPropertyMapping.java b/src/java/org/apache/fop/fo/FOPropertyMapping.java
index 48a58b94a..84f524878 100644
--- a/src/java/org/apache/fop/fo/FOPropertyMapping.java
+++ b/src/java/org/apache/fop/fo/FOPropertyMapping.java
@@ -265,7 +265,7 @@ public final class FOPropertyMapping implements Constants {
enums = new Property[ENUM_COUNT + 1];
}
if (enums[enumValue] == null) {
- enums[enumValue] = new EnumProperty(enumValue, text);
+ enums[enumValue] = EnumProperty.getInstance(enumValue, text);
}
return enums[enumValue];
}