aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/ps
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-01-25 14:40:14 +0000
committerGlen Mazza <gmazza@apache.org>2004-01-25 14:40:14 +0000
commita539d8af4c422676cb89fa27bcb8d17496b6801c (patch)
tree27d39971882d9e094123ccf71f6c3d4a4a84d9e7 /src/java/org/apache/fop/render/ps
parentcd3a9ec3112fdec56e42a3bb90f8bc6c1b55d035 (diff)
downloadxmlgraphics-fop-a539d8af4c422676cb89fa27bcb8d17496b6801c.tar.gz
xmlgraphics-fop-a539d8af4c422676cb89fa27bcb8d17496b6801c.zip
Switching from passing the FOUserAgent for several of the image
functions to its internal Avalon logger instead. (Only object used within FOUserAgent parameter, plus this library is also used for the PDFTranscoder, plus FOUserAgent not always available from everywhere anymore.) Holding off making a complete switch in this package (FOUserAgent still used in a few more places, albeit only its logger is being requested) until others comment. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197259 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/ps')
-rw-r--r--src/java/org/apache/fop/render/ps/PSRenderer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/ps/PSRenderer.java b/src/java/org/apache/fop/render/ps/PSRenderer.java
index 6f9e5bd3b..bc2062b7d 100644
--- a/src/java/org/apache/fop/render/ps/PSRenderer.java
+++ b/src/java/org/apache/fop/render/ps/PSRenderer.java
@@ -730,7 +730,7 @@ public class PSRenderer extends AbstractRenderer {
if (back.getURL() != null) {
ImageFactory fact = ImageFactory.getInstance();
FopImage fopimage = fact.getImage(back.getURL(), userAgent);
- if (fopimage != null && fopimage.load(FopImage.DIMENSIONS, userAgent)) {
+ if (fopimage != null && fopimage.load(FopImage.DIMENSIONS, userAgent.getLogger())) {
if (back.getRepeat() == BackgroundRepeat.REPEAT) {
// create a pattern for the image
} else {