Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg

This commit is contained in:
Randell Jesup
2012-09-01 22:35:17 -04:00
parent 360ad91182
commit 3b4961b603
617 changed files with 2504 additions and 2504 deletions

View File

@@ -35,7 +35,7 @@ nsLocalFile::InitWithFile(nsIFile *aFile)
{
NS_ENSURE_ARG(aFile);
nsCAutoString path;
nsAutoCString path;
aFile->GetNativePath(path);
if (path.IsEmpty())
return NS_ERROR_INVALID_ARG;
@@ -58,7 +58,7 @@ nsLocalFile::CreateUnique(uint32_t type, uint32_t attributes)
nsAutoString pathName, leafName, rootName, suffix;
rv = GetPath(pathName);
#else
nsCAutoString pathName, leafName, rootName, suffix;
nsAutoCString pathName, leafName, rootName, suffix;
rv = GetNativePath(pathName);
#endif
if (NS_FAILED(rv))