From aa54114d67662ba22687d715df9ff4d8f8cf9f6f Mon Sep 17 00:00:00 2001 From: Peter Herweg Date: Sat, 24 Jan 2004 22:24:14 +0000 Subject: [PATCH] fixed wrong datatype in overriden method git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197250 13f79535-47bb-0310-9956-ffa450edef68 --- .../rtf/rtflib/rtfdoc/RtfListStyleNumber.java | 18 +++++++++--------- 1 file 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."); } /** -- 2.39.5