Use nsAutoString instead of nsString for temps
git-svn-id: svn://10.0.0.236/trunk@45699 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -441,7 +441,7 @@ eParseMode DetermineParseMode(nsParser& aParser) {
|
||||
|
||||
nsScanner* theScanner=aParser.GetScanner();
|
||||
if(theScanner){
|
||||
nsString theBufCopy;
|
||||
nsAutoString theBufCopy;
|
||||
nsString& theBuffer=theScanner->GetBuffer();
|
||||
theBuffer.Left(theBufCopy,125);
|
||||
theBufCopy.ToUpperCase();
|
||||
|
||||
Reference in New Issue
Block a user