diff options
author | Glen Mazza <gmazza@apache.org> | 2004-01-14 00:00:38 +0000 |
---|---|---|
committer | Glen Mazza <gmazza@apache.org> | 2004-01-14 00:00:38 +0000 |
commit | 8eebf16fad2dd677255adb054cc4cab17dc3d7af (patch) | |
tree | 13f8627ec8be327e3dd45e307ff85ecf46c8d1c2 /src/java/org/apache/fop/render/mif/MIFHandler.java | |
parent | 3c5e2946bb93e544ce909bb9a91250ea28927a59 (diff) | |
download | xmlgraphics-fop-8eebf16fad2dd677255adb054cc4cab17dc3d7af.tar.gz xmlgraphics-fop-8eebf16fad2dd677255adb054cc4cab17dc3d7af.zip |
More String->Int conversions (ones I've missed previously.) Appears I've finally
converted all of them. From Finn Bock's patch.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197159 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.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/java/org/apache/fop/render/mif/MIFHandler.java b/src/java/org/apache/fop/render/mif/MIFHandler.java index 9b787c8c9..64d9c9b6d 100644 --- a/src/java/org/apache/fop/render/mif/MIFHandler.java +++ b/src/java/org/apache/fop/render/mif/MIFHandler.java @@ -56,6 +56,7 @@ import java.io.OutputStream; import org.apache.fop.apps.Document; import org.apache.fop.apps.FOPException; +import org.apache.fop.fo.Constants; import org.apache.fop.fo.FOInputHandler; import org.apache.fop.fo.flow.BasicLink; import org.apache.fop.fo.flow.Block; @@ -144,7 +145,7 @@ public class MIFHandler extends FOInputHandler { public void startPageSequence(PageSequence pageSeq) { // get the layout master set // setup the pages for this sequence - String name = pageSeq.getProperty("master-reference").getString(); + String name = pageSeq.getProperty(Constants.PR_MASTER_REFERENCE).getString(); SimplePageMaster spm = pageSeq.getLayoutMasterSet().getSimplePageMaster(name); if (spm == null) { PageSequenceMaster psm = pageSeq.getLayoutMasterSet().getPageSequenceMaster(name); |