diff --git a/mailnews/base/src/nsMessenger.cpp b/mailnews/base/src/nsMessenger.cpp index ca3f46a19fdd..1ea949b6728a 100644 --- a/mailnews/base/src/nsMessenger.cpp +++ b/mailnews/base/src/nsMessenger.cpp @@ -1528,7 +1528,7 @@ NS_IMETHODIMP nsMessenger::DoPrint() nsCOMPtr webBrowserPrint = do_QueryInterface(viewer); if (webBrowserPrint) { nsCOMPtr printSettings; - webBrowserPrint->GetNewPrintSettings(getter_AddRefs(printSettings)); + webBrowserPrint->GetGlobalPrintSettings(getter_AddRefs(printSettings)); rv = webBrowserPrint->Print(printSettings, (nsIWebProgressListener*)nsnull); } #ifdef DEBUG_MESSENGER diff --git a/mailnews/base/src/nsMsgPrintEngine.cpp b/mailnews/base/src/nsMsgPrintEngine.cpp index c1e02703c892..af85b54ad42d 100644 --- a/mailnews/base/src/nsMsgPrintEngine.cpp +++ b/mailnews/base/src/nsMsgPrintEngine.cpp @@ -147,7 +147,7 @@ nsMsgPrintEngine::OnStateChange(nsIWebProgress* aWebProgress, { if (!mPrintSettings) { - mWebBrowserPrint->GetNewPrintSettings(getter_AddRefs(mPrintSettings)); + mWebBrowserPrint->GetGlobalPrintSettings(getter_AddRefs(mPrintSettings)); } mPrintSettings->SetPrintSilent(mCurrentlyPrintingURI != 0); rv = mWebBrowserPrint->Print(mPrintSettings, (nsIWebProgressListener *)this);