diff options
author | Adrian Cumiskey <acumiskey@apache.org> | 2008-01-08 15:27:02 +0000 |
---|---|---|
committer | Adrian Cumiskey <acumiskey@apache.org> | 2008-01-08 15:27:02 +0000 |
commit | 292aace6a143ee656e148e45ca79c42800b678ee (patch) | |
tree | 845d5978047cbbb1c4faf90f61edd3941281dd43 /src/java/org/apache/fop | |
parent | eb93b9ef5345d734f6204c75e3171255833ac9f8 (diff) | |
download | xmlgraphics-fop-292aace6a143ee656e148e45ca79c42800b678ee.tar.gz xmlgraphics-fop-292aace6a143ee656e148e45ca79c42800b678ee.zip |
cleaned up
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@610020 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop')
-rw-r--r-- | src/java/org/apache/fop/render/afp/modca/MapPageOverlay.java | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/java/org/apache/fop/render/afp/modca/MapPageOverlay.java b/src/java/org/apache/fop/render/afp/modca/MapPageOverlay.java index 5c1c66dbc..129a3f5a1 100644 --- a/src/java/org/apache/fop/render/afp/modca/MapPageOverlay.java +++ b/src/java/org/apache/fop/render/afp/modca/MapPageOverlay.java @@ -30,7 +30,6 @@ import org.apache.fop.render.afp.tools.BinaryUtils; * The Map Page Overlay structured field maps a Resource Local ID to the name of * a Begin Overlay structured field. A Map Page Overlay structured field may * contain from one to 254 repeating groups. - * */ public class MapPageOverlay extends AbstractAFPObject { @@ -68,15 +67,10 @@ public class MapPageOverlay extends AbstractAFPObject { log.debug("addOverlay():: adding overlay " + name); } - byte[] data; - try { - - data = name.getBytes(AFPConstants.EBCIDIC_ENCODING); + byte[] data = name.getBytes(AFPConstants.EBCIDIC_ENCODING); overLays.add(data); - } catch (UnsupportedEncodingException usee) { - log.error("addOverlay():: UnsupportedEncodingException translating the name " + name); } @@ -117,7 +111,6 @@ public class MapPageOverlay extends AbstractAFPObject { byte olayref = 0x00; for (int i = 0; i < oLayCount; i++) { - olayref = (byte) (olayref + 1); data[++pos] = 0x00; |