summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdrian Cumiskey <acumiskey@apache.org>2008-06-04 10:41:55 +0000
committerAdrian Cumiskey <acumiskey@apache.org>2008-06-04 10:41:55 +0000
commita812cf1529e6bce8cdca92674f9baf3b8d8934d1 (patch)
treef987639b45f611f5ce03c4eca60c145825dfa616 /src
parent46d76cd4f13d9da7216c4ce15359f6c75c2e00bb (diff)
downloadxmlgraphics-fop-a812cf1529e6bce8cdca92674f9baf3b8d8934d1.tar.gz
xmlgraphics-fop-a812cf1529e6bce8cdca92674f9baf3b8d8934d1.zip
Fix for wrong data arraycopy on OCD.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@663056 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/fop/render/afp/modca/ObjectContainer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/afp/modca/ObjectContainer.java b/src/java/org/apache/fop/render/afp/modca/ObjectContainer.java
index 2e06c1b2c..599cb0b40 100644
--- a/src/java/org/apache/fop/render/afp/modca/ObjectContainer.java
+++ b/src/java/org/apache/fop/render/afp/modca/ObjectContainer.java
@@ -214,7 +214,7 @@ public class ObjectContainer extends AbstractNamedAFPObject implements DataObjec
data[8] = 0x00; // Reserved
// copy object data chunk
- System.arraycopy(data, startIndex, data, 9, dataLen);
+ System.arraycopy(objData, startIndex, data, 9, dataLen);
super.setData(data);
}