aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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) {