Author: ssteiner
Date: Tue Oct 26 11:06:09 2021
New Revision: 1894577

URL: http://svn.apache.org/viewvc?rev=1894577&view=rev
Log:
FOP-3031: Add MCF before MDR in AFP

Modified:
    
xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/afp/modca/ActiveEnvironmentGroup.java

Modified: 
xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/afp/modca/ActiveEnvironmentGroup.java
URL: 
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/afp/modca/ActiveEnvironmentGroup.java?rev=1894577&r1=1894576&r2=1894577&view=diff
==============================================================================
--- 
xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/afp/modca/ActiveEnvironmentGroup.java
 (original)
+++ 
xmlgraphics/fop/trunk/fop-core/src/main/java/org/apache/fop/afp/modca/ActiveEnvironmentGroup.java
 Tue Oct 26 11:06:09 2021
@@ -275,23 +275,6 @@ public final class ActiveEnvironmentGrou
     }
 
     /**
-     * Getter method for the most recent MapCodedFont added to the
-     * Active Environment Group (returns null if no MapCodedFonts exist)
-     *
-     * @return the most recent Map Coded Font.
-     */
-    private MapCodedFont getCurrentMapCodedFont() {
-        int size = mapCodedFonts.size();
-        if (size > 0) {
-            AbstractStructuredObject font = mapCodedFonts.get(size - 1);
-            if (font instanceof MapCodedFont) {
-                return (MapCodedFont) font;
-            }
-        }
-        return null;
-    }
-
-    /**
      * Add map page segment.
      * @param name of segment to add
      */



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

Reply via email to