You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ac...@apache.org on 2008/11/21 15:32:24 UTC

svn commit: r719589 - in /xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/afp: fonts/AFPPageFonts.java modca/GraphicsObject.java

Author: acumiskey
Date: Fri Nov 21 06:32:24 2008
New Revision: 719589

URL: http://svn.apache.org/viewvc?rev=719589&view=rev
Log:
Minor cleanup.

Modified:
    xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/afp/fonts/AFPPageFonts.java
    xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/afp/modca/GraphicsObject.java

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/afp/fonts/AFPPageFonts.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/afp/fonts/AFPPageFonts.java?rev=719589&r1=719588&r2=719589&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/afp/fonts/AFPPageFonts.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/afp/fonts/AFPPageFonts.java Fri Nov 21 06:32:24 2008
@@ -56,7 +56,8 @@
         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;
     }

Modified: xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/afp/modca/GraphicsObject.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/afp/modca/GraphicsObject.java?rev=719589&r1=719588&r2=719589&view=diff
==============================================================================
--- xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/afp/modca/GraphicsObject.java (original)
+++ xmlgraphics/fop/branches/Temp_AFPGOCAResources/src/java/org/apache/fop/afp/modca/GraphicsObject.java Fri Nov 21 06:32:24 2008
@@ -59,8 +59,8 @@
     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();



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org