Closed
Bug 317911
Opened 19 years ago
Closed 19 years ago
weird nsCOMPtr<> construction in nsAddrDatabase ctor
Categories
(MailNews Core :: Address Book, defect)
MailNews Core
Address Book
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: bernard.alleysson, Assigned: bernard.alleysson)
Details
Attachments
(1 file)
1.03 KB,
patch
|
Bienvenu
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
m_dbName is declared as "nsCOMPtr<nsIFile> m_dbName;" in nsAddrDatabase.h and is initialized with m_dbName("") in nsAddrDatabase.cpp, from a char * ?!
Assignee | ||
Comment 1•19 years ago
|
||
bugzilla, could you review this trivial patch, thanks !
Attachment #204267 -
Flags: review?
Assignee | ||
Comment 2•19 years ago
|
||
Comment on attachment 204267 [details] [diff] [review] use default nsCOMPtr<> ctor oops, Could you review this trivial patch, thanks !
Attachment #204267 -
Flags: review? → review?(bienvenu)
Comment 3•19 years ago
|
||
Comment on attachment 204267 [details] [diff] [review] use default nsCOMPtr<> ctor This is a hangover from when I changed m_dbName from nsFileSpec to nsCOMPtr<nsIFile>. I don't see a problem with using the default nsCOMPtr<> constructor here.
Attachment #204267 -
Flags: superreview?
Updated•19 years ago
|
Attachment #204267 -
Flags: superreview?
Attachment #204267 -
Flags: superreview+
Attachment #204267 -
Flags: review?(bienvenu)
Attachment #204267 -
Flags: review+
Assignee | ||
Comment 4•19 years ago
|
||
Mark, could you do the checkin for me ? thx
Comment 5•19 years ago
|
||
Assigning to bernard as he provided the patch for the fix.
Assignee: nobody → bernard.alleysson
Comment 6•19 years ago
|
||
Patch checked in, marking fixed. cvsroot/mozilla/mailnews/addrbook/src/nsAddrDatabase.cpp,v <-- nsAddrDatabase.cpp new revision: 1.139; previous revision: 1.138 Thanks for the fix Bernard :-)
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•