mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-28 05:10:49 +00:00
Make sure default printing for FrameSets is "AsIs" when printing silently
Bug 106015 r=kmcclusk sr=attinasi
This commit is contained in:
parent
69c6678b6b
commit
ff7243160f
@ -4436,6 +4436,14 @@ nsresult rv;
|
||||
printf(" DeviceDimension w = %d h = %d\n",i1,i2);
|
||||
|
||||
#endif /* DEBUG_dcone */
|
||||
|
||||
// if there is a frameset and we are printing silently then
|
||||
// the default must be reset kFramesAsIs
|
||||
if (printService && mPrt->mIsParentAFrameSet && aSilent) {
|
||||
mPrt->mPrintFrameType = nsIPrintOptions::kFramesAsIs;
|
||||
printService->SetPrintFrameType(mPrt->mPrintFrameType);
|
||||
}
|
||||
|
||||
// Print listener setup...
|
||||
if (mPrt != nsnull) {
|
||||
mPrt->OnStartPrinting();
|
||||
|
@ -4436,6 +4436,14 @@ nsresult rv;
|
||||
printf(" DeviceDimension w = %d h = %d\n",i1,i2);
|
||||
|
||||
#endif /* DEBUG_dcone */
|
||||
|
||||
// if there is a frameset and we are printing silently then
|
||||
// the default must be reset kFramesAsIs
|
||||
if (printService && mPrt->mIsParentAFrameSet && aSilent) {
|
||||
mPrt->mPrintFrameType = nsIPrintOptions::kFramesAsIs;
|
||||
printService->SetPrintFrameType(mPrt->mPrintFrameType);
|
||||
}
|
||||
|
||||
// Print listener setup...
|
||||
if (mPrt != nsnull) {
|
||||
mPrt->OnStartPrinting();
|
||||
|
Loading…
x
Reference in New Issue
Block a user