From 149497ebb1f2d974c40e3f6a830e1263e2f78498 Mon Sep 17 00:00:00 2001 From: Adrian Cumiskey Date: Wed, 3 Sep 2008 11:58:53 +0000 Subject: [PATCH] Order important for setting uri otherwise value gets clobbered. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@691584 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/fop/render/afp/AFPAbstractImageFactory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/java/org/apache/fop/render/afp/AFPAbstractImageFactory.java b/src/java/org/apache/fop/render/afp/AFPAbstractImageFactory.java index 2b91c4ca4..565732b06 100644 --- a/src/java/org/apache/fop/render/afp/AFPAbstractImageFactory.java +++ b/src/java/org/apache/fop/render/afp/AFPAbstractImageFactory.java @@ -15,7 +15,7 @@ * limitations under the License. */ -/* $Id: $ */ +/* $Id$ */ package org.apache.fop.render.afp; @@ -53,11 +53,11 @@ public abstract class AFPAbstractImageFactory { */ public AFPDataObjectInfo create(AFPImageInfo afpImageInfo) throws IOException { AFPDataObjectInfo dataObjectInfo = createDataObjectInfo(); - dataObjectInfo.setUri(afpImageInfo.uri); // set resource information AFPResourceInfo resourceInfo = foreignAttributeReader.getResourceInfo(afpImageInfo.foreignAttributes); + resourceInfo.setUri(afpImageInfo.uri); dataObjectInfo.setResourceInfo(resourceInfo); // set object area -- 2.39.5