Closed
Bug 72781
Opened 24 years ago
Closed 20 years ago
rewrite getter_AddRefs(pAddressLists->ElementAt(j)) using QueryElementAt
Categories
(SeaMonkey :: MailNews: Address Book & Contacts, defect)
SeaMonkey
MailNews: Address Book & Contacts
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: timeless, Assigned: standard8)
Details
Attachments
(1 file)
1.19 KB,
patch
|
Bienvenu
:
review+
Bienvenu
:
superreview+
asa
:
approval1.8b2+
|
Details | Diff | Splinter Review |
from Bugzilla Bug 70989 Clean up lots of "shadows" and other common warnings
* mailnews/addrbook:
- nsCOMPtr<nsISupports> pSupport =
getter_AddRefs(pAddressLists->ElementAt(j));
+ pSupport = getter_AddRefs(pAddressLists->ElementAt(j));
nsCOMPtr<nsIAbCard> cardInList(do_QueryInterface(pSupport, &rv));
You have tabs here in your + line, and can we use QueryElementAt to save the
explicit QI?
QA Contact: esther → stephend
Comment 1•23 years ago
|
||
note to self: I think I have another bug somewhere else about this. (Those who
fail to patch before are bound to report their bugs again and patch later...)
Status: NEW → ASSIGNED
Whiteboard: DUPEME
Updated•20 years ago
|
Product: Browser → Seamonkey
Assignee | ||
Comment 3•20 years ago
|
||
Timeless said (over irc) I could take this one off him, therefore re-assigning.
Assignee: timeless → bugzilla
Status: ASSIGNED → NEW
Whiteboard: DUPEME
Assignee | ||
Comment 4•20 years ago
|
||
This patch fixes the only case I could find in address book where this happens.
Attachment #183763 -
Flags: superreview?(bienvenu)
Attachment #183763 -
Flags: review?(bienvenu)
Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
Updated•20 years ago
|
Attachment #183763 -
Flags: superreview?(bienvenu)
Attachment #183763 -
Flags: superreview+
Attachment #183763 -
Flags: review?(bienvenu)
Attachment #183763 -
Flags: review+
Assignee | ||
Comment 5•20 years ago
|
||
Comment on attachment 183763 [details] [diff] [review]
Patch
Requesting approval for checkin for this minor change - it is a small code tidy
up that affects both suite & tb, but should be low risk.
Attachment #183763 -
Flags: approval1.8b2?
Attachment #183763 -
Flags: approval-aviary1.1a1?
Comment 6•20 years ago
|
||
Comment on attachment 183763 [details] [diff] [review]
Patch
a=asa for checkin to 1.8b2/1.1a1
Attachment #183763 -
Flags: approval1.8b2?
Attachment #183763 -
Flags: approval1.8b2+
Attachment #183763 -
Flags: approval-aviary1.1a1?
Assignee | ||
Comment 7•20 years ago
|
||
Timeless checked this in:
2005-05-19 13:22 timeless%mozdev.org mozilla/ mailnews/ base/ resources/
locale/ en-US/ messenger.properties 1.118 1/1
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 8•20 years ago
|
||
Opps try getting the right checkin ;-)
2005-05-19 13:21 timeless%mozdev.org mozilla/ mailnews/ addrbook/ src/
nsDirectoryDataSource.cpp 1.66 3/3
Updated•20 years ago
|
QA Contact: stephend → technutz
Comment 9•20 years ago
|
||
Verified FIXED (API-level) using LXR:
http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=mozilla/mailnews/addrbook/src&command=DIFF_FRAMESET&file=nsDirectoryDataSource.cpp&rev1=1.65&rev2=1.66&root=/cvsroot
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•