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:
parent
fd4d2132df
commit
1c65a526ab
@ -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);
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user