]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
fixed wrong datatype in overriden method
authorPeter Herweg <pherweg@apache.org>
Sat, 24 Jan 2004 22:24:14 +0000 (22:24 +0000)
committerPeter Herweg <pherweg@apache.org>
Sat, 24 Jan 2004 22:24:14 +0000 (22:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197250 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfListStyleNumber.java

index 65a7b92b8f2dabb5f812d545717ff0336a92730b..0861a8d5f066a23ee91ae97821e2ca44609afb50 100644 (file)
@@ -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.");
     }
     
     /**