landing phase 2 to remove deprecated string calls

git-svn-id: svn://10.0.0.236/trunk@62718 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
2000-03-12 11:10:07 +00:00
parent 4fdc8bcb58
commit 65135726ce
29 changed files with 38 additions and 439 deletions

View File

@@ -978,12 +978,12 @@ static void ParseClasses(const nsString& aClassString, nsClassList& aClassList)
nsClassList* list = &aClassList;
while (list && (kNullCh != *start)) {
while ((kNullCh != *start) && nsString::IsSpace(*start)) { // skip leading space
while ((kNullCh != *start) && nsCRT::IsAsciiSpace(*start)) { // skip leading space
start++;
}
end = start;
while ((kNullCh != *end) && (PR_FALSE == nsString::IsSpace(*end))) { // look for space or end
while ((kNullCh != *end) && (PR_FALSE == nsCRT::IsAsciiSpace(*end))) { // look for space or end
end++;
}
*end = kNullCh; // end string here