| commit | 1d69d983df29dd46aa85abbe831d146dc7cece32 | [log] [tgz] |
|---|---|---|
| author | Simon Steiner <ssteiner@apache.org> | Tue Oct 26 11:06:09 2021 +0000 |
| committer | Simon Steiner <ssteiner@apache.org> | Tue Oct 26 11:06:09 2021 +0000 |
| tree | a20975e940fc8f3181ce932486691c8370a19411 | |
| parent | eaeaa5cea448ff84e22071fa2c46b7e3d65fb9b4 [diff] |
FOP-3031: Add MCF before MDR in AFP git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1894577 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/fop-core/src/main/java/org/apache/fop/afp/modca/ActiveEnvironmentGroup.java b/fop-core/src/main/java/org/apache/fop/afp/modca/ActiveEnvironmentGroup.java index 687fea7..ce4825a 100644 --- a/fop-core/src/main/java/org/apache/fop/afp/modca/ActiveEnvironmentGroup.java +++ b/fop-core/src/main/java/org/apache/fop/afp/modca/ActiveEnvironmentGroup.java
@@ -275,23 +275,6 @@ } /** - * 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 */