r=mscott, a=brendan OS/2 bringup - VisualAge treats this like a cast - according to nsFileSpec.h, our way is correct git-svn-id: svn://10.0.0.236/trunk@73668 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
b9f715c40a
commit
b00f430573
@ -281,7 +281,7 @@ nsresult nsImapMailFolder::CreateSubFolders(nsFileSpec &path)
|
||||
char *folderName;
|
||||
for (nsDirectoryIterator dir(path, PR_FALSE); dir.Exists(); dir++)
|
||||
{
|
||||
nsFileSpec currentFolderPath = (nsFileSpec&)dir;
|
||||
nsFileSpec currentFolderPath = dir.Spec();
|
||||
folderName = currentFolderPath.GetLeafName();
|
||||
currentFolderNameStr.AssignWithConversion(folderName);
|
||||
if (nsShouldIgnoreFile(currentFolderNameStr))
|
||||
|
||||
@ -470,7 +470,7 @@ nsMsgLocalMailFolder::CreateSubFolders(nsFileSpec &path)
|
||||
nsCOMPtr<nsIMsgFolder> child;
|
||||
|
||||
for (nsDirectoryIterator dir(path, PR_FALSE); dir.Exists(); dir++) {
|
||||
nsFileSpec currentFolderPath = (nsFileSpec&)dir;
|
||||
nsFileSpec currentFolderPath = dir.Spec();
|
||||
|
||||
currentFolderPath.GetLeafName(currentFolderNameStr);
|
||||
if (nsShouldIgnoreFile(currentFolderNameStr))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user