PRInt32 count = 0; mDocument->GetNumberOfStyleSheets(PR_FALSE, &count);
PRInt32 count = mDocument->GetNumberOfStyleSheets(PR_FALSE);
PresShell::ListAlternateStyleSheets(nsStringArray& aTitleList){  // XXX should this be returning incomplete sheets?  Probably.  if (mDocument) {    PRInt32 count = 0;    mDocument->GetNumberOfStyleSheets(PR_FALSE, &count);    PRInt32 index;    NS_NAMED_LITERAL_STRING(textHtml,"text/html");    for (index = 0; index < count; index++) {      nsCOMPtr<nsIStyleSheet> sheet;      mDocument->GetStyleSheetAt(index, PR_FALSE, getter_AddRefs(sheet));      if (sheet) {        nsAutoString type;        sheet->GetType(type);        if (PR_FALSE == type.Equals(textHtml)) {          nsAutoString  title;          sheet->GetTitle(title);          if (!title.IsEmpty()) {            if (-1 == aTitleList.IndexOf(title)) {              aTitleList.AppendString(title);            }          }        }      }    }  }  return NS_OK;}