static char p[] = "p"; static char h1[] = "h1"; static char h2[] = "h2"; static char h3[] = "h3"; static char h4[] = "h4"; static char h5[] = "h5"; static char h6[] = "h6"; static char address[] = "address"; static char pre[] = "pre"; static char li[] = "li"; static char dt[] = "dt"; static char dd[] = "dd";
static nsAutoString p = "p"; static nsAutoString h1 = "h1"; static nsAutoString h2 = "h2"; static nsAutoString h3 = "h3"; static nsAutoString h4 = "h4"; static nsAutoString h5 = "h5"; static nsAutoString h6 = "h6"; static nsAutoString address = "address"; static nsAutoString pre = "pre"; static nsAutoString li = "li"; static nsAutoString dt = "dt"; static nsAutoString dd = "dd";
nsHTMLEditor::IsSubordinateBlock(nsString &aTag, PRBool &aIsTag){  static char p[] = "p";  static char h1[] = "h1";  static char h2[] = "h2";  static char h3[] = "h3";  static char h4[] = "h4";  static char h5[] = "h5";  static char h6[] = "h6";  static char address[] = "address";  static char pre[] = "pre";  static char li[] = "li";  static char dt[] = "dt";  static char dd[] = "dd";  if (PR_TRUE==aTag.EqualsIgnoreCase(p)  ||      PR_TRUE==aTag.EqualsIgnoreCase(h1) ||      PR_TRUE==aTag.EqualsIgnoreCase(h2) ||      PR_TRUE==aTag.EqualsIgnoreCase(h3) ||      PR_TRUE==aTag.EqualsIgnoreCase(h4) ||      PR_TRUE==aTag.EqualsIgnoreCase(h5) ||      PR_TRUE==aTag.EqualsIgnoreCase(h6) ||      PR_TRUE==aTag.EqualsIgnoreCase(address) ||      PR_TRUE==aTag.EqualsIgnoreCase(pre) ||      PR_TRUE==aTag.EqualsIgnoreCase(li) ||      PR_TRUE==aTag.EqualsIgnoreCase(dt) ||      PR_TRUE==aTag.EqualsIgnoreCase(dd) )  {    aIsTag = PR_TRUE;  }  else {    aIsTag = PR_FALSE;  }  return NS_OK;}