Trying to put CallQueryInterface back in. Lets see if Wensleydale likes it better with a .get().

git-svn-id: svn://10.0.0.236/trunk@54815 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
tbogard%aol.net
1999-11-30 23:50:01 +00:00
parent 99fa3b6ce3
commit 79db5ee378
2 changed files with 2 additions and 4 deletions

View File

@@ -4164,8 +4164,7 @@ NS_IMETHODIMP nsWebShell::GetDocument(nsIDOMDocument** aDocument)
NS_ENSURE_TRUE(doc, NS_ERROR_NULL_POINTER);
// the result's addref comes from this QueryInterface call
NS_ENSURE_SUCCESS(doc->QueryInterface(NS_GET_IID(nsIDOMDocument),
(void**)aDocument), NS_ERROR_FAILURE);
NS_ENSURE_SUCCESS(CallQueryInterface(doc.get(), aDocument), NS_ERROR_FAILURE);
return NS_OK;
}