Bug 414075: Set the correct dead space gap value in Print Preview.
Patch by Jeremy Lea <reg@openpave.org> r+sr=roc a1.9b3=schrep git-svn-id: svn://10.0.0.236/trunk@244577 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -246,8 +246,7 @@ nsSimplePageSequenceFrame::Reflow(nsPresContext* aPresContext,
|
||||
|
||||
nscoord deadSpaceGap = 0;
|
||||
if (isPrintPreview) {
|
||||
nscoord deadSpaceGapTwips;
|
||||
GetDeadSpaceValue(&deadSpaceGapTwips);
|
||||
GetDeadSpaceValue(&gapInTwips);
|
||||
deadSpaceGap = aPresContext->TwipsToAppUnits(gapInTwips);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user