fixing more mac build bustage
This commit is contained in:
Родитель
07eb634d45
Коммит
82416fc7e8
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче