aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2008-12-11 14:38:01 +0000
committerJeremias Maerki <jeremias@apache.org>2008-12-11 14:38:01 +0000
commitfcbbbcb2c9e21a590efed09066eae5ce3a8abf52 (patch)
treebf7dbf78dce0163b3eff7c8a3edea3eb5ec1b6c2
parent3287952fed8dbc91af8f5ed50830061594958a3f (diff)
downloadxmlgraphics-fop-fcbbbcb2c9e21a590efed09066eae5ce3a8abf52.tar.gz
xmlgraphics-fop-fcbbbcb2c9e21a590efed09066eae5ce3a8abf52.zip
Fixed NPE: the user agent was not set.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@725701 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--test/java/org/apache/fop/intermediate/IFTester.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/java/org/apache/fop/intermediate/IFTester.java b/test/java/org/apache/fop/intermediate/IFTester.java
index 6ad2672e7..7f64ad489 100644
--- a/test/java/org/apache/fop/intermediate/IFTester.java
+++ b/test/java/org/apache/fop/intermediate/IFTester.java
@@ -113,6 +113,7 @@ public class IFTester {
ifRenderer.setUserAgent(ua);
IFSerializer serializer = new IFSerializer();
+ serializer.setUserAgent(ua);
DOMResult result = new DOMResult();
serializer.setResult(result);
ifRenderer.setDocumentHandler(serializer);