Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
using EmptyC?String instead. Bug 232691, patch by Charles Fenwick <clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky
This commit is contained in:
@@ -878,7 +878,7 @@ nsDirectoryService::GetFile(const char *prop, PRBool *persistent, nsIFile **_ret
|
||||
}
|
||||
else if (inAtom == nsDirectoryService::sDefaultDownloadDirectory)
|
||||
{
|
||||
NS_NewLocalFile(nsString(), PR_TRUE, getter_AddRefs(localFile));
|
||||
NS_NewLocalFile(EmptyString(), PR_TRUE, getter_AddRefs(localFile));
|
||||
nsCOMPtr<nsILocalFileMac> localMacFile(do_QueryInterface(localFile));
|
||||
|
||||
if (localMacFile)
|
||||
|
||||
Reference in New Issue
Block a user