diff --git a/mozilla/editor/base/nsEditor.cpp b/mozilla/editor/base/nsEditor.cpp index 5983e28c1c8..9c212db54a3 100644 --- a/mozilla/editor/base/nsEditor.cpp +++ b/mozilla/editor/base/nsEditor.cpp @@ -1185,7 +1185,6 @@ nsEditor::EnableUndo(PRBool aEnable) nsnull, NS_GET_IID(nsITransactionManager), getter_AddRefs(mTxnMgr)); if (NS_FAILED(result) || !mTxnMgr) { - printf("ERROR: Failed to get TransactionManager instance.\n"); return NS_ERROR_NOT_AVAILABLE; } } diff --git a/mozilla/editor/libeditor/base/nsEditor.cpp b/mozilla/editor/libeditor/base/nsEditor.cpp index 5983e28c1c8..9c212db54a3 100644 --- a/mozilla/editor/libeditor/base/nsEditor.cpp +++ b/mozilla/editor/libeditor/base/nsEditor.cpp @@ -1185,7 +1185,6 @@ nsEditor::EnableUndo(PRBool aEnable) nsnull, NS_GET_IID(nsITransactionManager), getter_AddRefs(mTxnMgr)); if (NS_FAILED(result) || !mTxnMgr) { - printf("ERROR: Failed to get TransactionManager instance.\n"); return NS_ERROR_NOT_AVAILABLE; } }