aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache
diff options
context:
space:
mode:
authorPeter Herweg <pherweg@apache.org>2004-01-24 22:24:14 +0000
committerPeter Herweg <pherweg@apache.org>2004-01-24 22:24:14 +0000
commitaa54114d67662ba22687d715df9ff4d8f8cf9f6f (patch)
tree1af22d73cc55a82a133d251ec651f7b1f0a50b05 /src/java/org/apache
parent5cb8334ba43d3f85292b7f5dec88301edeb6dc1f (diff)
downloadxmlgraphics-fop-aa54114d67662ba22687d715df9ff4d8f8cf9f6f.tar.gz
xmlgraphics-fop-aa54114d67662ba22687d715df9ff4d8f8cf9f6f.zip
fixed wrong datatype in overriden method
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197250 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache')
-rw-r--r--src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfListStyleNumber.java18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfListStyleNumber.java b/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfListStyleNumber.java
index 65a7b92b8..0861a8d5f 100644
--- a/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfListStyleNumber.java
+++ b/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfListStyleNumber.java
@@ -70,16 +70,16 @@ public class RtfListStyleNumber extends RtfListStyle {
*
* @see org.apache.fop.render.rtf.rtflib.rtfdoc.RtfListStyle#writeListPrefix()
*/
- public void writeListPrefix(RtfList list)
+ public void writeListPrefix(RtfListItem item)
throws IOException {
- list.writeControlWord("pnlvlbody");
- list.writeControlWord("ilvl0");
- list.writeOneAttribute(RtfListTable.LIST_NUMBER, "0");
- list.writeControlWord("pndec");
- list.writeOneAttribute("pnstart", new Integer(1));
- list.writeOneAttribute("pnindent",
- list.attrib.getValue(RtfListTable.LIST_INDENT));
- list.writeControlWord("pntxta.");
+ item.writeControlWord("pnlvlbody");
+ item.writeControlWord("ilvl0");
+ item.writeOneAttribute(RtfListTable.LIST_NUMBER, "0");
+ item.writeControlWord("pndec");
+ item.writeOneAttribute("pnstart", new Integer(1));
+ item.writeOneAttribute("pnindent",
+ item.attrib.getValue(RtfListTable.LIST_INDENT));
+ item.writeControlWord("pntxta.");
}
/**