removed calls to deprecated string methods

git-svn-id: svn://10.0.0.236/trunk@62735 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
2000-03-12 22:22:24 +00:00
parent b0ba15c22d
commit c82b77fb9c
8 changed files with 18 additions and 16 deletions

View File

@@ -915,7 +915,7 @@ NS_IMETHODIMP CViewSourceHTML::HandleToken(CToken* aToken,nsIParser* aParser) {
{
nsAutoString theStr;
nsString& theEntity=aToken->GetStringValueXXX();
if(!theEntity.EqualsIgnoreCase("XI",2)) {
if(!theEntity.Equals("XI",IGNORE_CASE)) {
PRUnichar theChar=theEntity.CharAt(0);
if((nsCRT::IsAsciiDigit(theChar)) || ('X'==theChar) || ('x'==theChar)){
theStr.Append("#");