mTxnMgr->Redo();
{ nsCOMPtr<nsITransaction> txn; rv = mTxnMgr->PeekRedoStack(getter_AddRefs(txn)); if (NS_SUCCEEDED(rv) && txn) { nsCOMPtr<nsMsgTxn> msgTxn = do_QueryInterface(txn, &rv); if (NS_SUCCEEDED(rv) && msgTxn) msgTxn->SetMsgWindow(msgWindow); } mTxnMgr->RedoTransaction(); }
nsMessenger::Redo(){  nsresult rv = NS_OK;  if (mTxnMgr)  {    PRInt32 numTxn = 0;    rv = mTxnMgr->GetNumberOfRedoItems(&numTxn);    if (NS_SUCCEEDED(rv) && numTxn > 0)      mTxnMgr->Redo();  }  return rv;}