removed calls to deprecated string methods

git-svn-id: svn://10.0.0.236/trunk@62707 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
2000-03-12 09:14:14 +00:00
parent cca1bf41ed
commit 1bd57cb94b
124 changed files with 462 additions and 581 deletions

View File

@@ -522,7 +522,7 @@ nsLocalFile::ResolveAndStat(PRBool resolveTerminal)
PRStatus status = PR_GetFileInfo64(nsprPath, &mFileInfo64);
if ( status == PR_SUCCESS )
{
mResolvedPath.SetString(workingFilePath);
mResolvedPath.Assign(workingFilePath);
mDirty = PR_FALSE;
return NS_OK;
}
@@ -537,7 +537,7 @@ nsLocalFile::ResolveAndStat(PRBool resolveTerminal)
if (NS_FAILED(result))
return result;
mResolvedPath.SetString(resolvePath);
mResolvedPath.Assign(resolvePath);
nsAllocator::Free(resolvePath);
// if we are not resolving the terminal node, we have to "fake" windows
@@ -607,7 +607,7 @@ nsLocalFile::InitWithPath(const char *filePath)
if(temp[len] == '\\')
temp[len] = '\0';
mWorkingPath.SetString(nativeFilePath);
mWorkingPath.Assign(nativeFilePath);
nsAllocator::Free( nativeFilePath );
return NS_OK;
}