Instead of at the end of of the PO it needs to be in the middel of reflow

where we bail out earlier, basically same fix different location
Bug 149710 r=dcone sr=jst
This commit is contained in:
rods%netscape.com 2002-11-22 13:06:58 +00:00
parent 0bf43fd793
commit c16e250910
2 changed files with 2 additions and 0 deletions

View File

@ -2831,6 +2831,7 @@ nsPrintEngine::ReflowPrintObject(nsPrintObject * aPO, PRBool aDoCalcShrink)
if (!adjRect.width || !adjRect.height || !width || !height) {
aPO->mDontPrint = PR_TRUE;
aPO->mPresShell->EndObservingDocument();
return NS_OK;
}

View File

@ -2831,6 +2831,7 @@ nsPrintEngine::ReflowPrintObject(nsPrintObject * aPO, PRBool aDoCalcShrink)
if (!adjRect.width || !adjRect.height || !width || !height) {
aPO->mDontPrint = PR_TRUE;
aPO->mPresShell->EndObservingDocument();
return NS_OK;
}