Fixed missing do_QueryInterface that busted Linux build
git-svn-id: svn://10.0.0.236/trunk@32760 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
4d597b6ebd
commit
b431e666a0
@ -1758,7 +1758,7 @@ nsHTMLEditor::GetSelectedElement(const nsString& aTagName, nsIDOMElement** aRetu
|
||||
if (image)
|
||||
{
|
||||
nsCOMPtr<nsIDOMNode> parent;
|
||||
nsCOMPtr<nsIDOMNode> current = selectedElement;
|
||||
nsCOMPtr<nsIDOMNode> current = do_QueryInterface(selectedElement);
|
||||
PRBool notDone = PR_TRUE;
|
||||
do {
|
||||
result = current->GetParentNode(getter_AddRefs(parent));
|
||||
|
||||
@ -1758,7 +1758,7 @@ nsHTMLEditor::GetSelectedElement(const nsString& aTagName, nsIDOMElement** aRetu
|
||||
if (image)
|
||||
{
|
||||
nsCOMPtr<nsIDOMNode> parent;
|
||||
nsCOMPtr<nsIDOMNode> current = selectedElement;
|
||||
nsCOMPtr<nsIDOMNode> current = do_QueryInterface(selectedElement);
|
||||
PRBool notDone = PR_TRUE;
|
||||
do {
|
||||
result = current->GetParentNode(getter_AddRefs(parent));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user