Bug 14419 (1 of 4): Fix typo!
git-svn-id: svn://10.0.0.236/trunk@57890 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
d5abf240b9
commit
036af632b7
@ -529,7 +529,7 @@ nsHTMLOptionElement::SetText(const nsString& aText)
|
||||
result = NS_NewTextNode(&text);
|
||||
if (NS_OK == result) {
|
||||
nsIDOMText* domtext;
|
||||
result = text->QueryInterface(kIDOMTextIID, (void**)&tc);
|
||||
result = text->QueryInterface(kIDOMTextIID, (void**)&domtext);
|
||||
if (NS_OK == result) {
|
||||
result = domtext->SetData(aText);
|
||||
if (NS_SUCCEEDED(result)) {
|
||||
|
||||
@ -529,7 +529,7 @@ nsHTMLOptionElement::SetText(const nsString& aText)
|
||||
result = NS_NewTextNode(&text);
|
||||
if (NS_OK == result) {
|
||||
nsIDOMText* domtext;
|
||||
result = text->QueryInterface(kIDOMTextIID, (void**)&tc);
|
||||
result = text->QueryInterface(kIDOMTextIID, (void**)&domtext);
|
||||
if (NS_OK == result) {
|
||||
result = domtext->SetData(aText);
|
||||
if (NS_SUCCEEDED(result)) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user