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

This commit is contained in:
masayuki%d-toybox.com 2005-11-29 05:50:24 +00:00
Родитель a6e31396b5
Коммит 8211dc3b14
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

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