aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremias Maerki <jeremias@apache.org>2008-01-11 20:03:36 +0000
committerJeremias Maerki <jeremias@apache.org>2008-01-11 20:03:36 +0000
commit6101c1c37f5f2f5be2cfccc91f55112084ce6882 (patch)
tree8f2faa18611587d789ba248ef00209df37cd2cf3
parent44c5761c1a801f4b6ae91ae7afb8006e8bb9c7fe (diff)
downloadxmlgraphics-fop-6101c1c37f5f2f5be2cfccc91f55112084ce6882.tar.gz
xmlgraphics-fop-6101c1c37f5f2f5be2cfccc91f55112084ce6882.zip
Removed stray reference to ImageFactory.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@611285 13f79535-47bb-0310-9956-ffa450edef68
-rwxr-xr-xsrc/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java b/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java
index 68d4bcab1..96c1e80e2 100755
--- a/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java
+++ b/src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java
@@ -28,10 +28,10 @@ import org.apache.xmlgraphics.image.loader.ImageSessionContext;
import org.apache.fop.apps.FOUserAgent;
import org.apache.fop.datatypes.Length;
import org.apache.fop.datatypes.PercentBaseContext;
+import org.apache.fop.datatypes.URISpecification;
import org.apache.fop.fo.Constants;
import org.apache.fop.fo.PropertyList;
import org.apache.fop.fo.expr.PropertyException;
-import org.apache.fop.image.ImageFactory;
/**
* Stores all common border and padding properties.
@@ -235,7 +235,7 @@ public class CommonBorderPaddingBackground {
Constants.PR_BACKGROUND_POSITION_VERTICAL).getLength();
//Additional processing: preload image
- String uri = ImageFactory.getURL(backgroundImage);
+ String uri = URISpecification.getURL(backgroundImage);
FOUserAgent userAgent = pList.getFObj().getUserAgent();
ImageManager manager = userAgent.getFactory().getImageManager();
ImageSessionContext sessionContext = userAgent.getImageSessionContext();