move the nsICmdLineHandler responsibilties from nsHTMLEditorLog to nsEditorService. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@61035 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -33,7 +33,6 @@
|
||||
#include "nsIDOMRange.h"
|
||||
#include "nsHTMLEditorLog.h"
|
||||
#include "nsCOMPtr.h"
|
||||
#include "nsICmdLineHandler.h"
|
||||
|
||||
#include "nsEditorTxnLog.h"
|
||||
|
||||
@@ -68,11 +67,6 @@ nsHTMLEditorLog::QueryInterface(REFNSIID aIID, void** aInstancePtr)
|
||||
NS_ADDREF_THIS();
|
||||
return NS_OK;
|
||||
}
|
||||
if (aIID.Equals(NS_GET_IID(nsICmdLineHandler))) {
|
||||
*aInstancePtr = (void*)(nsICmdLineHandler*)this;
|
||||
NS_ADDREF_THIS();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
return nsHTMLEditor::QueryInterface(aIID, aInstancePtr);
|
||||
}
|
||||
@@ -1399,5 +1393,3 @@ function EditorSetSelectionFromOffsets(selRanges)
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
CMDLINEHANDLER_IMPL(nsHTMLEditorLog,"-edit","general.startup.editor","chrome://editor/content/","Start with editor","component://netscape/editor/htmleditor","Editor Cmd Line Handler", PR_TRUE,"about:blank", PR_TRUE)
|
||||
|
||||
Reference in New Issue
Block a user