This commit is contained in:
kherron%fmailbox.com 2007-06-24 11:47:08 +00:00
Родитель 47697488ed
Коммит 7cf7b3b95f
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -529,7 +529,7 @@ NS_IMETHODIMP nsDeviceContextSpecWin::GetSurfaceForPrinter(gfxASurface **surface
nsXPIDLString filename; nsXPIDLString filename;
mPrintSettings->GetToFileName(getter_Copies(filename)); mPrintSettings->GetToFileName(getter_Copies(filename));
PRInt32 width, height; double width, height;
mPrintSettings->GetEffectivePageSize(&width, &height); mPrintSettings->GetEffectivePageSize(&width, &height);
// convert twips to points // convert twips to points
width /= 20; width /= 20;