diff --git a/mozilla/editor/base/InsertTextTxn.cpp b/mozilla/editor/base/InsertTextTxn.cpp index 7f19c12796b..8b0332593cf 100644 --- a/mozilla/editor/base/InsertTextTxn.cpp +++ b/mozilla/editor/base/InsertTextTxn.cpp @@ -57,7 +57,7 @@ nsresult InsertTextTxn::Merge(PRBool *aDidMerge, nsITransaction *aTransaction) // set out param default value if (nsnull!=aDidMerge) *aDidMerge=PR_FALSE; - +/* XXX: Doesn't compile on Mac. While the hell not??? if ((nsnull!=aDidMerge) && (nsnull!=aTransaction)) { // if aTransaction isa InsertTextTxn, absorb it @@ -71,6 +71,7 @@ nsresult InsertTextTxn::Merge(PRBool *aDidMerge, nsITransaction *aTransaction) } *aDidMerge = PR_TRUE; } +*/ return NS_OK; } diff --git a/mozilla/editor/core/InsertTextTxn.cpp b/mozilla/editor/core/InsertTextTxn.cpp index 7f19c12796b..8b0332593cf 100644 --- a/mozilla/editor/core/InsertTextTxn.cpp +++ b/mozilla/editor/core/InsertTextTxn.cpp @@ -57,7 +57,7 @@ nsresult InsertTextTxn::Merge(PRBool *aDidMerge, nsITransaction *aTransaction) // set out param default value if (nsnull!=aDidMerge) *aDidMerge=PR_FALSE; - +/* XXX: Doesn't compile on Mac. While the hell not??? if ((nsnull!=aDidMerge) && (nsnull!=aTransaction)) { // if aTransaction isa InsertTextTxn, absorb it @@ -71,6 +71,7 @@ nsresult InsertTextTxn::Merge(PRBool *aDidMerge, nsITransaction *aTransaction) } *aDidMerge = PR_TRUE; } +*/ return NS_OK; } diff --git a/mozilla/editor/libeditor/base/InsertTextTxn.cpp b/mozilla/editor/libeditor/base/InsertTextTxn.cpp index 7f19c12796b..8b0332593cf 100644 --- a/mozilla/editor/libeditor/base/InsertTextTxn.cpp +++ b/mozilla/editor/libeditor/base/InsertTextTxn.cpp @@ -57,7 +57,7 @@ nsresult InsertTextTxn::Merge(PRBool *aDidMerge, nsITransaction *aTransaction) // set out param default value if (nsnull!=aDidMerge) *aDidMerge=PR_FALSE; - +/* XXX: Doesn't compile on Mac. While the hell not??? if ((nsnull!=aDidMerge) && (nsnull!=aTransaction)) { // if aTransaction isa InsertTextTxn, absorb it @@ -71,6 +71,7 @@ nsresult InsertTextTxn::Merge(PRBool *aDidMerge, nsITransaction *aTransaction) } *aDidMerge = PR_TRUE; } +*/ return NS_OK; }