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