diff options
-rw-r--r-- | src/java/org/apache/fop/tools/anttasks/Fop.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/tools/anttasks/Fop.java b/src/java/org/apache/fop/tools/anttasks/Fop.java index 895230d27..0634c0407 100644 --- a/src/java/org/apache/fop/tools/anttasks/Fop.java +++ b/src/java/org/apache/fop/tools/anttasks/Fop.java @@ -338,7 +338,9 @@ class FOPTaskStarter { FOPTaskStarter(Fop task) throws SAXException, IOException { this.task = task; - fopFactory.setUserConfig(task.getUserconfig()); + if (task.getUserconfig() != null) { + fopFactory.setUserConfig(task.getUserconfig()); + } } private static final String[][] SHORT_NAMES = { |