From: Adrian Cumiskey Date: Wed, 3 Sep 2008 11:58:53 +0000 (+0000) Subject: Order important for setting uri otherwise value gets clobbered. X-Git-Tag: fop-1_0~376^2~77 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=149497ebb1f2d974c40e3f6a830e1263e2f78498;p=xmlgraphics-fop.git 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 --- 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