Rename Transformiix string API to be in synch with Mozilla's. Part of bug 74786 (String cleanup). r=sicking, rs=jst.

git-svn-id: svn://10.0.0.236/trunk@135523 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterv%netscape.com
2002-12-20 15:18:35 +00:00
parent 1766074986
commit 77250f9370
83 changed files with 844 additions and 893 deletions

View File

@@ -72,7 +72,7 @@ void StringList::add(String* strptr) {
MBool StringList::contains(String& search) {
StringListItem* sItem = firstItem;
while ( sItem ) {
if ( search.isEqual(*sItem->strptr)) return MB_TRUE;
if ( search.Equals(*sItem->strptr)) return MB_TRUE;
sItem = sItem->nextItem;
}
return MB_FALSE;
@@ -191,7 +191,7 @@ StringList::StringListItem* StringList::remove(StringList::StringListItem* sItem
void StringList::remove(String& search) {
StringListItem* sItem = firstItem;
while (sItem) {
if (sItem->strptr->isEqual(search)) {
if (sItem->strptr->Equals(search)) {
delete sItem->strptr;
StringListItem* temp = remove(sItem);
sItem = sItem->nextItem;