diff options
Diffstat (limited to 'src/java/org/apache/fop/render/afp/modca/AbstractPageObject.java')
-rw-r--r-- | src/java/org/apache/fop/render/afp/modca/AbstractPageObject.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/render/afp/modca/AbstractPageObject.java b/src/java/org/apache/fop/render/afp/modca/AbstractPageObject.java index d3b4d10a9..8e6314adb 100644 --- a/src/java/org/apache/fop/render/afp/modca/AbstractPageObject.java +++ b/src/java/org/apache/fop/render/afp/modca/AbstractPageObject.java @@ -362,9 +362,9 @@ public abstract class AbstractPageObject extends AbstractNamedAFPObject { if (obj instanceof Writable) { Writable writableObject = (Writable)obj; writableObject.write(os); - } else if (obj instanceof ResourceInfo) { - ResourceInfo resourceInfo = (ResourceInfo)obj; - byte[] data = cache.get(resourceInfo); + } else if (obj instanceof DataObjectCache.Record) { + DataObjectCache.Record record = (DataObjectCache.Record)obj; + byte[] data = cache.retrieve(record); os.write(data); } } |