Open Bug 297089 Opened 19 years ago Updated 2 years ago

Provide a way for embedders to disable printing

Categories

(Core :: Printing: Output, enhancement)

x86
Windows XP
enhancement

Tracking

()

People

(Reporter: timeless, Unassigned)

Details

Attachments

(1 file)

this code is from Cenzic Hailstorm 2.5-2.6
Attached patch patch we usedSplinter Review
Attachment #185684 - Flags: superreview?(jst)
Attachment #185684 - Flags: review?(jst)
Comment on attachment 185684 [details] [diff] [review] patch we used - In nsPrintEngine::PrintPreview(): + if (prefBranch) { ... + } + + nsresult rv = NS_OK; I'd remove the second empty line there... r+sr=jst either way...
Attachment #185684 - Flags: superreview?(jst)
Attachment #185684 - Flags: superreview+
Attachment #185684 - Flags: review?(jst)
Attachment #185684 - Flags: review+
+ nsCOMPtr<nsIPrefBranch> prefBranch(do_GetService(NS_PREFSERVICE_CONTRACTID)); why not use nsContentUtils::Get*Pref?
QA Contact: printing

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: timeless → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: