]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Fixed NPE: the user agent was not set.
authorJeremias Maerki <jeremias@apache.org>
Thu, 11 Dec 2008 14:38:01 +0000 (14:38 +0000)
committerJeremias Maerki <jeremias@apache.org>
Thu, 11 Dec 2008 14:38:01 +0000 (14:38 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@725701 13f79535-47bb-0310-9956-ffa450edef68

test/java/org/apache/fop/intermediate/IFTester.java

index 6ad2672e7a046b63572491eab1bf2b90c5a481b6..7f64ad489350db6531f5d3b2ddb6e07ba2f061b1 100644 (file)
@@ -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);