Adding do_QueryInterface() wrapper for nsCOMPtr/Solaris.
git-svn-id: svn://10.0.0.236/trunk@22432 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -612,7 +612,7 @@ nsresult nsContentSubtreeIterator::Init(nsIDOMRange* aRange)
|
||||
if (!aRange)
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
|
||||
mRange = aRange;
|
||||
mRange = do_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 = do_QueryInterface(aRange);
|
||||
|
||||
// get the start node and offset, convert to nsIContent
|
||||
nsCOMPtr<nsIDOMNode> commonParent;
|
||||
|
||||
Reference in New Issue
Block a user