зеркало из https://github.com/mozilla/pjs.git
Fix bustage from bug 381631.
This commit is contained in:
Родитель
47697488ed
Коммит
7cf7b3b95f
|
@ -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;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче