Closed
Bug 337367
Opened 20 years ago
Closed 13 years ago
Eliminate NS_NewLocalFileWithFSSpec and NS_NewLocalFileWithFSRef
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: mark, Assigned: mark)
Details
Bug 326668 comment 22. Replace these with:
nsCOMPtr<nsILocalFile> lf;
NS_NewNativeLocalFile(EmptyString(), PR_FALSE, getter_AddRefs(lf));
nsCOMPtr<nsILocalFileMac> lfm(do_QueryInterface(lf));
lfm->InitWithFSRef(theFSRef);
OR
lfm->InitWithFSSpec(theFSSpec);
Comment 1•20 years ago
|
||
Wouldn't it be nicer not to have uninitialized/half-initialized objects around?
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•