ToUpperCase( nsAString& aString ) { nsAString::iterator fromBegin, fromEnd; ConvertToUpperCase converter; copy_string(aString.BeginWriting(fromBegin), aString.EndWriting(fromEnd), converter); }
ToUpperCase(PRUnichar aChar) { PRUnichar result; if (NS_FAILED(NS_InitCaseConversion())) return aChar;  if (gCaseConv) gCaseConv->ToUpper(aChar, &result); else { NS_WARNING("No case converter: no conversion done"); if (aChar < 256) result = toupper(char(aChar)); else result = aChar; } return result; }
ToUpperCase( nsAString& aString )  {    nsAString::iterator fromBegin, fromEnd;    ConvertToUpperCase converter;    copy_string(aString.BeginWriting(fromBegin), aString.EndWriting(fromEnd), converter);  }