Removing uwanted debug staments to fix bustage.

git-svn-id: svn://10.0.0.236/trunk@116712 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rods%netscape.com 2002-03-16 14:08:39 +00:00
parent fd4d2132df
commit 1c65a526ab
2 changed files with 0 additions and 4 deletions

View File

@ -3239,12 +3239,10 @@ DocumentViewerImpl::ReflowPrintObject(PrintObject * aPO, PRBool aDoCalcShrink)
return rv;
}
aPO->mPresContext->SetTurnOffScaledTwips(PR_FALSE);
rv = document->CreateShell(aPO->mPresContext, aPO->mViewManager, aPO->mStyleSet, getter_AddRefs(aPO->mPresShell));
if (NS_FAILED(rv)) {
return rv;
}
aPO->mPresContext->SetTurnOffScaledTwips(PR_TRUE);
PRInt32 pageWidth, pageHeight;
mPrt->mPrintDocDC->GetDeviceSurfaceDimensions(pageWidth, pageHeight);

View File

@ -3239,12 +3239,10 @@ DocumentViewerImpl::ReflowPrintObject(PrintObject * aPO, PRBool aDoCalcShrink)
return rv;
}
aPO->mPresContext->SetTurnOffScaledTwips(PR_FALSE);
rv = document->CreateShell(aPO->mPresContext, aPO->mViewManager, aPO->mStyleSet, getter_AddRefs(aPO->mPresShell));
if (NS_FAILED(rv)) {
return rv;
}
aPO->mPresContext->SetTurnOffScaledTwips(PR_TRUE);
PRInt32 pageWidth, pageHeight;
mPrt->mPrintDocDC->GetDeviceSurfaceDimensions(pageWidth, pageHeight);