bug 127091 - big string cleanup, removing old APIs
- removing Assign/AppendWithConversion for single-characters - removing unused StripChars - removing ReplaceChar[s] for non-matching chars - removing CompressSet - removing nsCString::Find/FindCharInSet/RFind for unichar strings - removing lots of EqualsWithConversion r=dp, sr=jag a=asa git-svn-id: svn://10.0.0.236/trunk@115750 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -187,7 +187,7 @@ void String::append(UNICODE_CHAR source)
|
||||
//
|
||||
void String::append(char source)
|
||||
{
|
||||
ptrNSString->AppendWithConversion(source);
|
||||
ptrNSString->Append(PRUnichar(source));
|
||||
}
|
||||
|
||||
//
|
||||
@@ -538,7 +538,7 @@ MBool String::isEqual(const String& data) const
|
||||
return MB_FALSE;
|
||||
else
|
||||
{
|
||||
if (ptrNSString->EqualsWithConversion(data.getConstNSString()) == PR_TRUE)
|
||||
if (ptrNSString->Equals(data.getConstNSString()) == PR_TRUE)
|
||||
return MB_TRUE;
|
||||
else
|
||||
return MB_FALSE;
|
||||
|
||||
Reference in New Issue
Block a user