Closed Bug 483589 Opened 16 years ago Closed 16 years ago

PRBool problem in nsHTMLEditor::EnableExistingStyleSheet

Categories

(Core :: DOM: Editor, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.2a1

People

(Reporter: taras.mozilla, Assigned: graememcc)

Details

(Keywords: fixed1.9.1)

Attachments

(1 file)

Error: /editor/libeditor/html/nsHTMLEditor.cpp: 3697 & 3705: NS_ENSURE_SUCCESS(rv, rv); http://mxr.mozilla.org/mozilla-central/source/editor/libeditor/html/nsHTMLEditor.cpp#3705 See Taras' blog for more info about prbool bugs http://blog.mozilla.com/tglek/2008/11/07/enabling-prcheck-email-notifications/#respond bug 432114 is the last mod to that code, but I think the problem was there before.
Attachment #367641 - Flags: superreview?(peterv)
Attachment #367641 - Flags: review?(peterv)
Attachment #367641 - Flags: superreview?(peterv)
Attachment #367641 - Flags: superreview+
Attachment #367641 - Flags: review?(peterv)
Attachment #367641 - Flags: review+
Attachment #367641 - Flags: approval1.9.1?
Keywords: checkin-needed
Attachment #367641 - Attachment description: Fix → Fix [Checkin: Comment 2]
Assignee: nobody → graememcc_firefox
Status: NEW → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.2a1
Version: unspecified → Trunk
Curious, any particular reason for switching to if (NS_FAILED) which doesn't warn in debug builds instead of just using NS_ENSURE_SUCCESS(rv, PR_FALSE);
Attachment #367641 - Flags: approval1.9.1? → approval1.9.1+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: