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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user