fixing more mac build bustage
git-svn-id: svn://10.0.0.236/trunk@136578 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -47,6 +47,7 @@
|
||||
#include "nsISelection.h"
|
||||
#include "nsIDOMRange.h"
|
||||
#include "nsHTMLEditorLog.h"
|
||||
#include "nsNetUtil.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsCRT.h"
|
||||
#include "prprf.h"
|
||||
@@ -847,16 +848,9 @@ nsHTMLEditorLog::StartLogging(nsIFile *aLogFile)
|
||||
return result;
|
||||
}
|
||||
|
||||
mFileStream = do_CreateInstance(NS_LOCALFILEOUTPUTSTREAM_CONTRACTID, &result);
|
||||
result = NS_NewLocalFileOutputStream(getter_AddRefs(mFileStream), aLogFile);
|
||||
if (NS_FAILED(result)) return result;
|
||||
|
||||
result = mFileStream->Init(aLogFile, -1, -1, 0);
|
||||
if (NS_FAILED(result))
|
||||
{
|
||||
mFileStream = nsnull;
|
||||
return result;
|
||||
}
|
||||
|
||||
if (mTxnMgr)
|
||||
{
|
||||
mEditorTxnLog = new nsEditorTxnLog(this);
|
||||
|
||||
@@ -55,7 +55,7 @@ class nsHTMLEditorLog : public nsHTMLEditor,
|
||||
{
|
||||
private:
|
||||
|
||||
nsCOMPtr<nsIFileOutputStream> mFileStream;
|
||||
nsCOMPtr<nsIOutputStream> mFileStream;
|
||||
nsEditorTxnLog *mEditorTxnLog;
|
||||
PRInt32 mLocked;
|
||||
PRInt32 mDepth;
|
||||
|
||||
Reference in New Issue
Block a user