EnumValueToString(aValue, kOldListTypeTable, aResult);
aValue.EnumValueToString(kOldListTypeTable, aResult);
nsHTMLSharedContainerElement::AttributeToString(nsIAtom* aAttribute,                                                const nsHTMLValue& aValue,                                                nsAString& aResult) const{  if (mNodeInfo->Equals(nsHTMLAtoms::dir) ||      mNodeInfo->Equals(nsHTMLAtoms::menu)) {    if (aAttribute == nsHTMLAtoms::type) {      EnumValueToString(aValue, kListTypeTable, aResult);      return NS_CONTENT_ATTR_HAS_VALUE;    }  } else if (mNodeInfo->Equals(nsHTMLAtoms::ol)) {    if (aAttribute == nsHTMLAtoms::type) {      PRInt32 v = aValue.GetIntValue();      switch (v) {        case NS_STYLE_LIST_STYLE_OLD_DECIMAL:        case NS_STYLE_LIST_STYLE_OLD_LOWER_ROMAN:        case NS_STYLE_LIST_STYLE_OLD_UPPER_ROMAN:        case NS_STYLE_LIST_STYLE_OLD_LOWER_ALPHA:        case NS_STYLE_LIST_STYLE_OLD_UPPER_ALPHA:          EnumValueToString(aValue, kOldListTypeTable, aResult);          break;        default:          EnumValueToString(aValue, kListTypeTable, aResult);          break;      }      return NS_CONTENT_ATTR_HAS_VALUE;    }  } else if (mNodeInfo->Equals(nsHTMLAtoms::caption)) {    if (aAttribute == nsHTMLAtoms::align) {      if (eHTMLUnit_Enumerated == aValue.GetUnit()) {        EnumValueToString(aValue, kCaptionAlignTable, aResult);        return NS_CONTENT_ATTR_HAS_VALUE;      }    }  }  return nsGenericHTMLContainerElement::AttributeToString(aAttribute, aValue,                                                          aResult);}