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:
kipp%netscape.com
1999-09-02 18:13:07 +00:00
parent 95d58ceb51
commit 4b348cc604
12 changed files with 41 additions and 35 deletions

View File

@@ -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();