aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/fop/afp/fonts/AFPPageFonts.java3
-rw-r--r--src/java/org/apache/fop/afp/modca/GraphicsObject.java4
2 files changed, 4 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/afp/fonts/AFPPageFonts.java b/src/java/org/apache/fop/afp/fonts/AFPPageFonts.java
index 146c6f14b..ee7a3c0eb 100644
--- a/src/java/org/apache/fop/afp/fonts/AFPPageFonts.java
+++ b/src/java/org/apache/fop/afp/fonts/AFPPageFonts.java
@@ -56,7 +56,8 @@ public class AFPPageFonts extends java.util.HashMap {
if (afpFontAttributes == null) {
afpFontAttributes = new AFPFontAttributes(fontName, font, fontSize);
super.put(pageFontKey, afpFontAttributes);
- afpFontAttributes.setFontReference(super.size());
+ int fontRef = super.size();
+ afpFontAttributes.setFontReference(fontRef);
}
return afpFontAttributes;
}
diff --git a/src/java/org/apache/fop/afp/modca/GraphicsObject.java b/src/java/org/apache/fop/afp/modca/GraphicsObject.java
index 7602f7dd5..24b3f949e 100644
--- a/src/java/org/apache/fop/afp/modca/GraphicsObject.java
+++ b/src/java/org/apache/fop/afp/modca/GraphicsObject.java
@@ -59,8 +59,8 @@ public class GraphicsObject extends AbstractDataObject {
private GraphicsData currentData = null;
/** list of objects contained within this container */
- protected List/*<GraphicsDrawingOrder>*/ objects
- = new java.util.ArrayList/*<GraphicsDrawingOrder>*/();
+ protected List/*<GraphicsData>*/ objects
+ = new java.util.ArrayList/*<GraphicsData>*/();
/** the graphics state */
private final GraphicsState graphicsState = new GraphicsState();