aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/xml/XMLRendererMaker.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/render/xml/XMLRendererMaker.java')
-rw-r--r--src/java/org/apache/fop/render/xml/XMLRendererMaker.java11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/java/org/apache/fop/render/xml/XMLRendererMaker.java b/src/java/org/apache/fop/render/xml/XMLRendererMaker.java
index f0cd3a850..3110ed0ef 100644
--- a/src/java/org/apache/fop/render/xml/XMLRendererMaker.java
+++ b/src/java/org/apache/fop/render/xml/XMLRendererMaker.java
@@ -19,12 +19,9 @@
package org.apache.fop.render.xml;
-import java.util.List;
-
import org.apache.fop.apps.FOPException;
import org.apache.fop.apps.FOUserAgent;
import org.apache.fop.apps.MimeConstants;
-import org.apache.fop.fonts.FontCollection;
import org.apache.fop.render.AbstractRendererMaker;
import org.apache.fop.render.PrintRendererConfigurator;
import org.apache.fop.render.Renderer;
@@ -43,13 +40,7 @@ public class XMLRendererMaker extends AbstractRendererMaker {
@Override
public void configureRenderer(FOUserAgent userAgent, Renderer renderer) throws FOPException {
- // TODO what constructor params?
- new PrintRendererConfigurator(userAgent, null) {
- @Override
- protected List<FontCollection> getDefaultFontCollection() {
- throw new UnsupportedOperationException();
- }
- } .configure(renderer);
+ PrintRendererConfigurator.createDefaultInstance(userAgent).configure(renderer);
}
@Override