aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeiron Liddle <keiron@apache.org>2001-12-11 12:11:00 +0000
committerKeiron Liddle <keiron@apache.org>2001-12-11 12:11:00 +0000
commit5f5f4fa39bdcb7f95ba1b4a635f9b21d9e33481e (patch)
treebde29f683f30b2feb866225d00555bcf44df5479
parentd4d763749225d472661181c3db42eb038a10f235 (diff)
downloadxmlgraphics-fop-5f5f4fa39bdcb7f95ba1b4a635f9b21d9e33481e.tar.gz
xmlgraphics-fop-5f5f4fa39bdcb7f95ba1b4a635f9b21d9e33481e.zip
removed some bad static things
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194595 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--src/org/apache/fop/pdf/PDFCIDSystemInfo.java2
-rw-r--r--src/org/apache/fop/pdf/PDFWArray.java1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/org/apache/fop/pdf/PDFCIDSystemInfo.java b/src/org/apache/fop/pdf/PDFCIDSystemInfo.java
index 7104fd9d7..bd42fc8be 100644
--- a/src/org/apache/fop/pdf/PDFCIDSystemInfo.java
+++ b/src/org/apache/fop/pdf/PDFCIDSystemInfo.java
@@ -15,7 +15,6 @@ package org.apache.fop.pdf;
* this small object is used in the CID fonts and in the CMaps.
*/
public class PDFCIDSystemInfo extends PDFObject {
- private static final StringBuffer p = new StringBuffer();
protected String registry;
protected String ordering;
protected int supplement;
@@ -40,6 +39,7 @@ public class PDFCIDSystemInfo extends PDFObject {
}
public String toPDFString() {
+ StringBuffer p = new StringBuffer();
p.setLength(0);
p.append("/CIDSystemInfo << /Registry (");
p.append(registry);
diff --git a/src/org/apache/fop/pdf/PDFWArray.java b/src/org/apache/fop/pdf/PDFWArray.java
index cef0a0e48..f7fdadba3 100644
--- a/src/org/apache/fop/pdf/PDFWArray.java
+++ b/src/org/apache/fop/pdf/PDFWArray.java
@@ -90,7 +90,6 @@ public class PDFWArray {
* inner class for entries in the form "c [w ...]"
*/
private static class Entry {
- private static final StringBuffer p = new StringBuffer();
private int start;
private int[] metrics;
public Entry(int s, int[] m) {