From 240bcc0c6d3af5ce0e8f9d2c2ca40f0d546f5b9f Mon Sep 17 00:00:00 2001 From: Glen Mazza Date: Sun, 9 May 2004 20:45:15 +0000 Subject: String->int conversion and a few other simplifications to fo.Region* classes. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197575 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/render/rtf/PageAttributesConverter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/java/org/apache/fop/render') diff --git a/src/java/org/apache/fop/render/rtf/PageAttributesConverter.java b/src/java/org/apache/fop/render/rtf/PageAttributesConverter.java index fb34f9413..5220bb1bc 100644 --- a/src/java/org/apache/fop/render/rtf/PageAttributesConverter.java +++ b/src/java/org/apache/fop/render/rtf/PageAttributesConverter.java @@ -55,9 +55,9 @@ class PageAttributesConverter { Property p = null; Float f = null; - Region before = pagemaster.getRegion("before"); - Region body = pagemaster.getRegion("body"); - Region after = pagemaster.getRegion("after"); + Region before = pagemaster.getRegion(Region.BEFORE_CODE); + Region body = pagemaster.getRegion(Region.BODY_CODE); + Region after = pagemaster.getRegion(Region.AFTER_CODE); //page attributes props = pagemaster.propertyList; -- cgit v1.2.3