aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/ps/PSImageUtils.java
diff options
context:
space:
mode:
authorMehdi Houshmand <mehdi@apache.org>2012-05-31 08:33:36 +0000
committerMehdi Houshmand <mehdi@apache.org>2012-05-31 08:33:36 +0000
commiteccd73c523bdda6a0634e9849141492f7b14ad63 (patch)
tree72f06ec1481249bdd639083ee646b3c3fd4be7a4 /src/java/org/apache/fop/render/ps/PSImageUtils.java
parent05761b1df54ada8a762bfa879dc0e3455d33d828 (diff)
downloadxmlgraphics-fop-eccd73c523bdda6a0634e9849141492f7b14ad63.tar.gz
xmlgraphics-fop-eccd73c523bdda6a0634e9849141492f7b14ad63.zip
Started unifying URI resolution mechanism, redesigned configuration system and created flexible config testing
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_URI_Unification@1344594 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/ps/PSImageUtils.java')
-rw-r--r--src/java/org/apache/fop/render/ps/PSImageUtils.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/render/ps/PSImageUtils.java b/src/java/org/apache/fop/render/ps/PSImageUtils.java
index 431071701..962f19d10 100644
--- a/src/java/org/apache/fop/render/ps/PSImageUtils.java
+++ b/src/java/org/apache/fop/render/ps/PSImageUtils.java
@@ -53,7 +53,7 @@ public class PSImageUtils extends org.apache.xmlgraphics.ps.PSImageUtils {
}
//Investigate choice for inline mode
ImageFlavor[] inlineFlavors = determineSupportedImageFlavors(renderingContext);
- ImageManager manager = renderingContext.getUserAgent().getFactory().getImageManager();
+ ImageManager manager = renderingContext.getUserAgent().getImageManager();
ImageProviderPipeline[] inlineCandidates
= manager.getPipelineFactory().determineCandidatePipelines(
info, inlineFlavors);
@@ -79,7 +79,7 @@ public class PSImageUtils extends org.apache.xmlgraphics.ps.PSImageUtils {
private static ImageFlavor[] determineSupportedImageFlavors(RenderingContext renderingContext) {
ImageFlavor[] inlineFlavors;
ImageHandlerRegistry imageHandlerRegistry
- = renderingContext.getUserAgent().getFactory().getImageHandlerRegistry();
+ = renderingContext.getUserAgent().getImageHandlerRegistry();
inlineFlavors = imageHandlerRegistry.getSupportedFlavors(renderingContext);
return inlineFlavors;
}