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:
dholbert%cs.stanford.edu
2008-01-31 06:12:52 +00:00
parent 90fe6a2e86
commit ba5b60e98a

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);
}