зеркало из https://github.com/mozilla/pjs.git
Fixed missing do_QueryInterface that busted Linux build
This commit is contained in:
Родитель
87b0695b45
Коммит
fa58425b27
|
@ -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));
|
||||
|
|
Загрузка…
Ссылка в новой задаче