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
This commit is contained in:
parent
d7e61a86d5
commit
f8f4d4ce45
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user