Bug 209852. Remove |dont_QueryInterface|.

r=dbaron, sr=jag
This commit is contained in:
caillon@returnzero.com
2003-06-21 00:15:41 +00:00
parent 1525a3c559
commit 863f9e1027
21 changed files with 26 additions and 61 deletions

View File

@@ -1415,7 +1415,7 @@ nsLocalFile::GetNativeTarget(nsACString &_retval)
nsresult rv;
PRBool isSymlink;
nsCOMPtr<nsIFile> self(dont_QueryInterface(this));
nsCOMPtr<nsIFile> self(this);
nsCOMPtr<nsIFile> parent;
while (NS_SUCCEEDED(rv = self->GetParent(getter_AddRefs(parent)))) {
NS_ASSERTION(parent != nsnull, "no parent?!");