aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/dom
diff options
context:
space:
mode:
authorSteve Coffman <gears@apache.org>2000-10-26 14:33:37 +0000
committerSteve Coffman <gears@apache.org>2000-10-26 14:33:37 +0000
commitbacbe7a0915fbb7b4c22b623f97a11352cf5d0b1 (patch)
tree53f8bc745c9f0060633b436a49250165e411af50 /src/org/apache/fop/dom
parent69883544bc9e2e7071f41359523a2b59bed4f88b (diff)
downloadxmlgraphics-fop-bacbe7a0915fbb7b4c22b623f97a11352cf5d0b1.tar.gz
xmlgraphics-fop-bacbe7a0915fbb7b4c22b623f97a11352cf5d0b1.zip
Adds textdeko.fo file example. Applies Art Welch's JDK 1.1.x compatibility
fixes. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193739 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/org/apache/fop/dom')
-rw-r--r--src/org/apache/fop/dom/css/CSSStyleRuleImpl.java2
-rw-r--r--src/org/apache/fop/dom/css/CSSStyleSheetImpl.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/org/apache/fop/dom/css/CSSStyleRuleImpl.java b/src/org/apache/fop/dom/css/CSSStyleRuleImpl.java
index c035f6084..5d6e37a35 100644
--- a/src/org/apache/fop/dom/css/CSSStyleRuleImpl.java
+++ b/src/org/apache/fop/dom/css/CSSStyleRuleImpl.java
@@ -188,7 +188,7 @@ public class CSSStyleRuleImpl implements CSSStyleRule {
}
}
if(current != null)
- selectors.add(current);
+ selectors.addElement(current);
}
}
diff --git a/src/org/apache/fop/dom/css/CSSStyleSheetImpl.java b/src/org/apache/fop/dom/css/CSSStyleSheetImpl.java
index 87c347e5e..97ee8ef3f 100644
--- a/src/org/apache/fop/dom/css/CSSStyleSheetImpl.java
+++ b/src/org/apache/fop/dom/css/CSSStyleSheetImpl.java
@@ -115,7 +115,7 @@ public class CSSStyleSheetImpl implements CSSStyleSheet {
public void deleteRule(int index)
throws DOMException
{
- rules.remove(index);
+ rules.removeElementAt(index);
}
public String getType()