]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Removed stray reference to ImageFactory.
authorJeremias Maerki <jeremias@apache.org>
Fri, 11 Jan 2008 20:03:36 +0000 (20:03 +0000)
committerJeremias Maerki <jeremias@apache.org>
Fri, 11 Jan 2008 20:03:36 +0000 (20:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@611285 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/fo/properties/CommonBorderPaddingBackground.java

index 68d4bcab14c21ae17b1b63a3ac76a76c5193b230..96c1e80e27595d105f328f121c83fa194a6ab186 100755 (executable)
@@ -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();