From f8f4d4ce45a3e42cb503c8781bdbedebeb9fcdf2 Mon Sep 17 00:00:00 2001 From: "troy%netscape.com" Date: Wed, 2 Dec 1998 03:26:37 +0000 Subject: [PATCH] Changed Print() to use a print context instead of a galley mode context git-svn-id: svn://10.0.0.236/trunk@15613 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webshell/src/nsDocumentViewer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/webshell/src/nsDocumentViewer.cpp b/mozilla/webshell/src/nsDocumentViewer.cpp index bac8ed0fb49..15693cccc56 100644 --- a/mozilla/webshell/src/nsDocumentViewer.cpp +++ b/mozilla/webshell/src/nsDocumentViewer.cpp @@ -495,7 +495,7 @@ NS_IMETHODIMP DocumentViewerImpl::Print(void) newdx->GetDeviceSurfaceDimensions(width, height); - NS_NewGalleyContext(&cx); + NS_NewPrintContext(&cx); mPresContext->GetPrefs(prefs); cx->Init(newdx, prefs);