fixing whitespace from last checkin

This commit is contained in:
naving%netscape.com 2002-02-16 03:36:57 +00:00
Родитель db7c083b8d
Коммит 0d17f8631b
1 изменённых файлов: 16 добавлений и 16 удалений

Просмотреть файл

@ -855,23 +855,23 @@ NS_IMETHODIMP nsImapMailFolder::CreateClientSubfolderInfo(const char *folderName
nsCOMPtr <nsIAtom> folderCreateAtom; nsCOMPtr <nsIAtom> folderCreateAtom;
if (!suppressNotification) if (!suppressNotification)
{ {
if(NS_SUCCEEDED(rv) && child) if(NS_SUCCEEDED(rv) && child)
{
nsCOMPtr<nsISupports> childSupports(do_QueryInterface(child));
nsCOMPtr<nsISupports> folderSupports;
rv = QueryInterface(NS_GET_IID(nsISupports), getter_AddRefs(folderSupports));
if(childSupports && NS_SUCCEEDED(rv))
{ {
NotifyItemAdded(folderSupports, childSupports, "folderView"); nsCOMPtr<nsISupports> childSupports(do_QueryInterface(child));
folderCreateAtom = getter_AddRefs(NS_NewAtom("FolderCreateCompleted")); nsCOMPtr<nsISupports> folderSupports;
child->NotifyFolderEvent(folderCreateAtom); rv = QueryInterface(NS_GET_IID(nsISupports), getter_AddRefs(folderSupports));
if(childSupports && NS_SUCCEEDED(rv))
{
NotifyItemAdded(folderSupports, childSupports, "folderView");
folderCreateAtom = getter_AddRefs(NS_NewAtom("FolderCreateCompleted"));
child->NotifyFolderEvent(folderCreateAtom);
}
}
else
{
folderCreateAtom = getter_AddRefs(NS_NewAtom("FolderCreateFailed"));
NotifyFolderEvent(folderCreateAtom);
} }
}
else
{
folderCreateAtom = getter_AddRefs(NS_NewAtom("FolderCreateFailed"));
NotifyFolderEvent(folderCreateAtom);
}
} }
return rv; return rv;
} }