mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Fix build bustage on Win32.
This commit is contained in:
parent
fe158c8b15
commit
832fc1f7cd
@ -2165,7 +2165,7 @@ nsHTMLEditor::InsertElement(nsIDOMElement* aElement, PRBool aDeleteSelection)
|
||||
nsAutoJSEditorLogLock logLock(mJSEditorLog);
|
||||
|
||||
if (mJSEditorLog)
|
||||
mJSEditorLog->InsertElement(aElement, aDeleteSelection, aReturn);
|
||||
mJSEditorLog->InsertElement(aElement, aDeleteSelection);
|
||||
#endif // ENABLE_JS_EDITOR_LOG
|
||||
|
||||
nsresult res=NS_ERROR_NOT_INITIALIZED;
|
||||
|
@ -20,6 +20,7 @@
|
||||
// KEEPING AROUND FOR A FEW DAYS JUST TO MAKE SURE;
|
||||
// BUT IT'S NO LONGER PART OF THE BUILD.
|
||||
|
||||
#include "nsIDOMDocumentFragment.h"
|
||||
#include "nsInsertHTMLTxn.h"
|
||||
#include "nsIDOMSelection.h"
|
||||
#include "nsIContent.h"
|
||||
|
@ -658,7 +658,7 @@ nsJSEditorLog::CreateElementWithDefaults(const nsString& aTagName, nsIDOMElement
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsJSEditorLog::InsertElement(nsIDOMElement* aElement, PRBool aDeleteSelection, nsIDOMElement** aReturn)
|
||||
nsJSEditorLog::InsertElement(nsIDOMElement* aElement, PRBool aDeleteSelection)
|
||||
{
|
||||
// XXX: Need to add code here to dump out the element
|
||||
// XXX: and it's children.
|
||||
|
@ -120,7 +120,7 @@ public:
|
||||
NS_IMETHOD Align(const nsString& aAlign);
|
||||
NS_IMETHOD GetSelectedElement(const nsString& aTagName, nsIDOMElement** aReturn);
|
||||
NS_IMETHOD CreateElementWithDefaults(const nsString& aTagName, nsIDOMElement** aReturn);
|
||||
NS_IMETHOD InsertElement(nsIDOMElement* aElement, PRBool aDeleteSelection, nsIDOMElement** aReturn);
|
||||
NS_IMETHOD InsertElement(nsIDOMElement* aElement, PRBool aDeleteSelection);
|
||||
NS_IMETHOD InsertLinkAroundSelection(nsIDOMElement* aAnchorElement);
|
||||
NS_IMETHOD SelectElement(nsIDOMElement* aElement);
|
||||
NS_IMETHOD SetCaretAfterElement(nsIDOMElement* aElement);
|
||||
|
@ -2165,7 +2165,7 @@ nsHTMLEditor::InsertElement(nsIDOMElement* aElement, PRBool aDeleteSelection)
|
||||
nsAutoJSEditorLogLock logLock(mJSEditorLog);
|
||||
|
||||
if (mJSEditorLog)
|
||||
mJSEditorLog->InsertElement(aElement, aDeleteSelection, aReturn);
|
||||
mJSEditorLog->InsertElement(aElement, aDeleteSelection);
|
||||
#endif // ENABLE_JS_EDITOR_LOG
|
||||
|
||||
nsresult res=NS_ERROR_NOT_INITIALIZED;
|
||||
|
Loading…
Reference in New Issue
Block a user