aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/ps/ResourceHandler.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/java/org/apache/fop/render/ps/ResourceHandler.java')
-rw-r--r--src/java/org/apache/fop/render/ps/ResourceHandler.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/render/ps/ResourceHandler.java b/src/java/org/apache/fop/render/ps/ResourceHandler.java
index 502242c17..33a4a6dfe 100644
--- a/src/java/org/apache/fop/render/ps/ResourceHandler.java
+++ b/src/java/org/apache/fop/render/ps/ResourceHandler.java
@@ -283,7 +283,7 @@ public class ResourceHandler implements DSCParserConstants, PSSupportedFlavors {
throws IOException {
final String uri = form.getImageURI();
- ImageManager manager = userAgent.getFactory().getImageManager();
+ ImageManager manager = userAgent.getImageManager();
ImageInfo info = null;
try {
ImageSessionContext sessionContext = userAgent.getImageSessionContext();
@@ -295,7 +295,7 @@ public class ResourceHandler implements DSCParserConstants, PSSupportedFlavors {
ImageFlavor[] flavors;
ImageHandlerRegistry imageHandlerRegistry
- = userAgent.getFactory().getImageHandlerRegistry();
+ = userAgent.getImageHandlerRegistry();
flavors = imageHandlerRegistry.getSupportedFlavors(formContext);
Map hints = ImageUtil.getDefaultHints(sessionContext);