mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-19 09:30:44 +00:00
We do not want to skip page ejects when printing the selection
BUg 153964 r=dcone sr=kin
This commit is contained in:
parent
88316a9e93
commit
545f2640f9
@ -4699,7 +4699,9 @@ DocumentViewerImpl::DoPrint(PrintObject * aPO, PRBool aDoSyncPrinting, PRBool& a
|
||||
} // switch
|
||||
} else {
|
||||
// FrameSets skip page eject only if printing AsIs
|
||||
skipPageEjectOnly = aPO->mPrintAsIs;
|
||||
// Also note, that when printing selection is a single document
|
||||
// we do not want to skip page ejects
|
||||
skipPageEjectOnly = aPO->mPrintAsIs && printRangeType != nsIPrintSettings::kRangeSelection;
|
||||
}
|
||||
|
||||
// That we are all configured,
|
||||
|
@ -4699,7 +4699,9 @@ DocumentViewerImpl::DoPrint(PrintObject * aPO, PRBool aDoSyncPrinting, PRBool& a
|
||||
} // switch
|
||||
} else {
|
||||
// FrameSets skip page eject only if printing AsIs
|
||||
skipPageEjectOnly = aPO->mPrintAsIs;
|
||||
// Also note, that when printing selection is a single document
|
||||
// we do not want to skip page ejects
|
||||
skipPageEjectOnly = aPO->mPrintAsIs && printRangeType != nsIPrintSettings::kRangeSelection;
|
||||
}
|
||||
|
||||
// That we are all configured,
|
||||
|
Loading…
x
Reference in New Issue
Block a user