From a45f747cab4447eed1732b6ed49e02195e36e3d7 Mon Sep 17 00:00:00 2001 From: "tbogard%aol.net" Date: Sat, 11 Mar 2000 11:11:42 +0000 Subject: [PATCH] Fixed build warning. --- mailnews/base/src/nsMessenger.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mailnews/base/src/nsMessenger.cpp b/mailnews/base/src/nsMessenger.cpp index 32c7915293a..0a553489487 100644 --- a/mailnews/base/src/nsMessenger.cpp +++ b/mailnews/base/src/nsMessenger.cpp @@ -321,8 +321,8 @@ nsMessenger::SetWindow(nsIDOMWindow *aWin, nsIMsgWindow *aMsgWindow) m_docLoaderObserver = do_QueryInterface(aStatusFeedback); if (aStatusFeedback) aStatusFeedback->SetWebShell(mWebShell, mWindow); - nsCOMPtr docShell(do_QueryInterface(mWebShell)); - docShell->SetDocLoaderObserver(m_docLoaderObserver); + nsCOMPtr childDocShell(do_QueryInterface(mWebShell)); + childDocShell->SetDocLoaderObserver(m_docLoaderObserver); NS_WITH_SERVICE(nsIMsgMailSession, mailSession, kCMsgMailSessionCID, &rv); if(NS_SUCCEEDED(rv)) mailSession->SetTemporaryMsgWindow(aMsgWindow);