remove nsFilespec from mapi code, sr=mscott 33451

git-svn-id: svn://10.0.0.236/trunk@224862 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bienvenu%nventure.com
2007-04-23 00:49:23 +00:00
parent 5198ec0adf
commit 709554cdb2
2 changed files with 1 additions and 8 deletions

View File

@@ -51,7 +51,6 @@ META_COMPONENT = mail
MOZILLA_INTERNAL_API = 1
REQUIRES = xpcom \
xpcom_obsolete \
string \
MapiProxy \
appshell \

View File

@@ -66,8 +66,6 @@
#include "nsIMsgHeaderParser.h"
#include "nsILineInputStream.h"
#include "nsISeekableStream.h"
#include "nsIFileSpec.h"
#include "nsFileSpec.h"
#include "nsILocalFile.h"
#include "nsIFileStreams.h"
#include "nsNetCID.h"
@@ -755,12 +753,8 @@ char *MsgMapiListContext::ConvertBodyToMapiFormat (nsIMsgDBHdr *hdr)
return nsnull;
nsCOMPtr <nsIInputStream> inputStream;
nsCOMPtr <nsIFileSpec> fileSpec;
folder->GetPath(getter_AddRefs(fileSpec));
nsFileSpec realSpec;
fileSpec->GetFileSpec(&realSpec);
nsCOMPtr <nsILocalFile> localFile;
NS_FileSpecToIFile(&realSpec, getter_AddRefs(localFile));
folder->GetFilePath(getter_AddRefs(localFile));
nsresult rv;
nsCOMPtr<nsIFileInputStream> fileStream = do_CreateInstance(NS_LOCALFILEINPUTSTREAM_CONTRACTID, &rv);