removed calls to deprecated string methods

This commit is contained in:
rickg@netscape.com
2000-03-12 09:14:14 +00:00
parent d7cbc0a7a8
commit f893513a91
115 changed files with 412 additions and 531 deletions
+1 -1
View File
@@ -917,7 +917,7 @@ NS_IMETHODIMP CViewSourceHTML::HandleToken(CToken* aToken,nsIParser* aParser) {
nsString& theEntity=aToken->GetStringValueXXX();
if(!theEntity.EqualsIgnoreCase("XI",2)) {
PRUnichar theChar=theEntity.CharAt(0);
if((nsString::IsDigit(theChar)) || ('X'==theChar) || ('x'==theChar)){
if((nsCRT::IsAsciiDigit(theChar)) || ('X'==theChar) || ('x'==theChar)){
theStr.Append("#");
}
theStr.Append(theEntity);