Change it to do a QueryInterface, is this right?

This commit is contained in:
rods%netscape.com 1999-03-01 15:27:55 +00:00
Родитель 7bd23e1cc8
Коммит 372194e11f
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -612,7 +612,7 @@ nsresult nsContentSubtreeIterator::Init(nsIDOMRange* aRange)
if (!aRange)
return NS_ERROR_NULL_POINTER;
mRange = aRange;
mRange = dont_QueryInterface(aRange);
// get the start node and offset, convert to nsIContent
nsCOMPtr<nsIDOMNode> commonParent;

Просмотреть файл

@ -612,7 +612,7 @@ nsresult nsContentSubtreeIterator::Init(nsIDOMRange* aRange)
if (!aRange)
return NS_ERROR_NULL_POINTER;
mRange = aRange;
mRange = dont_QueryInterface(aRange);
// get the start node and offset, convert to nsIContent
nsCOMPtr<nsIDOMNode> commonParent;