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

This commit is contained in:
dholbert@cs.stanford.edu 2008-01-30 22:12:52 -08:00
parent f89c86e996
commit b0697ca8a6

View File

@ -246,8 +246,7 @@ nsSimplePageSequenceFrame::Reflow(nsPresContext* aPresContext,
nscoord deadSpaceGap = 0;
if (isPrintPreview) {
nscoord deadSpaceGapTwips;
GetDeadSpaceValue(&deadSpaceGapTwips);
GetDeadSpaceValue(&gapInTwips);
deadSpaceGap = aPresContext->TwipsToAppUnits(gapInTwips);
}