Oops, currently the Tree is closed, backing out previous check-in. b=317289

git-svn-id: svn://10.0.0.236/trunk@185365 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
masayuki%d-toybox.com
2005-11-29 05:50:24 +00:00
parent 8841fa464f
commit a66141bcf0

View File

@@ -3006,9 +3006,9 @@ nsPrintEngine::PrintDocContent(nsPrintObject* aPO, nsresult& aStatus)
}
}
// If |aPO->mPrintAsIs| and |aPO->mHasBeenPrinted| are true,
// the kids frames are already processed in |PrintPage|.
if (!aPO->mInvisible && !(aPO->mPrintAsIs && aPO->mHasBeenPrinted)) {
// If |aPO->mPrintAsIs| is true, the kids are processed in |PrintPage|
// instead of here.
if (!aPO->mInvisible && !aPO->mPrintAsIs) {
for (PRInt32 i=0;i<aPO->mKids.Count();i++) {
nsPrintObject* po = (nsPrintObject*)aPO->mKids[i];
PRBool printed = PrintDocContent(po, aStatus);