temp patch for Bug 112048 r=rods a=leaf

This commit is contained in:
rods%netscape.com 2001-11-27 16:28:01 +00:00
Родитель 185f31746d
Коммит 0f287d6e66
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -511,11 +511,15 @@ static void mozilla_modify( PtWidget_t *widget, PtArg_t const *argt ) {
WWWRequest *pPageInfo = ( WWWRequest * ) argt->value;
PpPrintContext_t *pc = moz_construct_print_context( pPageInfo );
#if 0 // until patch can be put in from Bug 112048
nsresult rv;
nsCOMPtr<nsIPrintOptions> printService =
do_GetService(kPrintOptionsCID, &rv);
printService->SetEndPageRange( (PRInt32) pc ); /* use SetEndPageRange/GetEndPageRange to convey the print context */
print->Print( window, printService, moz->MyBrowser->WebBrowserContainer );
#else
print->Print( window, nsnull, moz->MyBrowser->WebBrowserContainer );
#endif
}
break;