nsresult nsCharsetMenu::AddSeparatorToContainer( nsIRDFService * aRDFServ, nsICharsetConverterManager2 * aCCMan, nsIRDFContainer * aContainer)
nsresult nsCharsetMenu::AddSeparatorToContainer(nsIRDFContainer * aContainer)
nsresult nsCharsetMenu::AddSeparatorToContainer(                        nsIRDFService * aRDFServ,                         nsICharsetConverterManager2 * aCCMan,                         nsIRDFContainer * aContainer){  nsAutoString str;  str.AssignWithConversion("----");  // hack to generate unique id's for separators  static PRInt32 u = 0;  u++;  str.AppendInt(u);  nsMenuItem item;  item.mCharset = getter_AddRefs(NS_NewAtom(str));  item.mTitle.Assign(str);  return AddMenuItemToContainer(aRDFServ, aCCMan, aContainer, &item,     kNC_BookmarkSeparator, NULL);}