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:
@@ -51,7 +51,6 @@ META_COMPONENT = mail
|
||||
MOZILLA_INTERNAL_API = 1
|
||||
|
||||
REQUIRES = xpcom \
|
||||
xpcom_obsolete \
|
||||
string \
|
||||
MapiProxy \
|
||||
appshell \
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user