aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/mif/MIFHandler.java
diff options
context:
space:
mode:
authorFinn Bock <bckfnn@apache.org>2004-10-20 13:19:25 +0000
committerFinn Bock <bckfnn@apache.org>2004-10-20 13:19:25 +0000
commit3f8fd79510740cd0ab03493f58b8fdc9009beda0 (patch)
treedc0949b9eb04a556b8440354cccd0db917ca1d1f /src/java/org/apache/fop/render/mif/MIFHandler.java
parentd6a9ce7871ce451533b59b8b83eea09de61c1318 (diff)
downloadxmlgraphics-fop-3f8fd79510740cd0ab03493f58b8fdc9009beda0.tar.gz
xmlgraphics-fop-3f8fd79510740cd0ab03493f58b8fdc9009beda0.zip
Fourth phase of performance improvement.
- Get rid of calls to FObj.getProperty() and its friends. Replace them with the property getters on the FO nodes. PR: 31699 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198086 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/render/mif/MIFHandler.java')
-rw-r--r--src/java/org/apache/fop/render/mif/MIFHandler.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/render/mif/MIFHandler.java b/src/java/org/apache/fop/render/mif/MIFHandler.java
index 98ae3cd20..833659e53 100644
--- a/src/java/org/apache/fop/render/mif/MIFHandler.java
+++ b/src/java/org/apache/fop/render/mif/MIFHandler.java
@@ -23,7 +23,6 @@ import java.io.IOException;
import java.io.OutputStream;
import org.apache.fop.apps.FOUserAgent;
-import org.apache.fop.fo.Constants;
import org.apache.fop.fo.FOEventHandler;
import org.apache.fop.fo.flow.BasicLink;
import org.apache.fop.fo.flow.Block;
@@ -114,7 +113,7 @@ public class MIFHandler extends FOEventHandler {
public void startPageSequence(PageSequence pageSeq) {
// get the layout master set
// setup the pages for this sequence
- String name = pageSeq.getPropString(Constants.PR_MASTER_REFERENCE);
+ String name = pageSeq.getMasterReference();
SimplePageMaster spm = pageSeq.getRoot().getLayoutMasterSet().getSimplePageMaster(name);
if (spm == null) {
PageSequenceMaster psm = pageSeq.getRoot().getLayoutMasterSet().getPageSequenceMaster(name);