aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/expr
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2003-12-20 06:53:23 +0000
committerGlen Mazza <gmazza@apache.org>2003-12-20 06:53:23 +0000
commit0223653f86057291343b9d52d6414ebfd869cb6a (patch)
treebb76af27265ad085f2184bb45f01a329b53fcb51 /src/java/org/apache/fop/fo/expr
parent9133beaf697ac6bc082f9256f9aea295f81ef80c (diff)
downloadxmlgraphics-fop-0223653f86057291343b9d52d6414ebfd869cb6a.tar.gz
xmlgraphics-fop-0223653f86057291343b9d52d6414ebfd869cb6a.zip
1. Moved static element and property structures from PropertyList (previously in former PropertyListBuilder) to FObj
2. Renamed FObj "properties" instance variable to "propertyList" (reduces confusion on the type of object holding FO property information in the code) 3. Unneeded imports removed (Finn Bock's patch, Bug #25582). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197042 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/expr')
-rw-r--r--src/java/org/apache/fop/fo/expr/BodyStartFunction.java2
-rw-r--r--src/java/org/apache/fop/fo/expr/LabelEndFunction.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/java/org/apache/fop/fo/expr/BodyStartFunction.java b/src/java/org/apache/fop/fo/expr/BodyStartFunction.java
index c6cada8ae..989211458 100644
--- a/src/java/org/apache/fop/fo/expr/BodyStartFunction.java
+++ b/src/java/org/apache/fop/fo/expr/BodyStartFunction.java
@@ -88,7 +88,7 @@ public class BodyStartFunction extends FunctionBase {
}
Numeric startIndent =
- ((ListItem)item).properties.get("start-indent").getNumeric();
+ ((ListItem)item).propertyList.get("start-indent").getNumeric();
return new NumericProperty(distance.add(startIndent));
}
diff --git a/src/java/org/apache/fop/fo/expr/LabelEndFunction.java b/src/java/org/apache/fop/fo/expr/LabelEndFunction.java
index ba129c1ba..7856d05f7 100644
--- a/src/java/org/apache/fop/fo/expr/LabelEndFunction.java
+++ b/src/java/org/apache/fop/fo/expr/LabelEndFunction.java
@@ -95,7 +95,7 @@ public class LabelEndFunction extends FunctionBase {
if (item == null) {
throw new PropertyException("label-end() called from outside an fo:list-item");
}
- Length startIndent = ((ListItem)item).properties.get("start-indent").getLength();
+ Length startIndent = ((ListItem)item).propertyList.get("start-indent").getLength();
LinearCombinationLength labelEnd = new LinearCombinationLength();