diff --git a/extensions/xmlterm/base/mozXMLTermSession.cpp b/extensions/xmlterm/base/mozXMLTermSession.cpp index 5b40d872d00..ad7c23c15ca 100644 --- a/extensions/xmlterm/base/mozXMLTermSession.cpp +++ b/extensions/xmlterm/base/mozXMLTermSession.cpp @@ -4142,15 +4142,7 @@ NS_IMETHODIMP mozXMLTermSession::ToHTMLString(nsIDOMNode* aNode, if (domText) { // Text node - nsCOMPtr htmlContent ( do_QueryInterface(aNode) ); - - if (htmlContent) { - htmlContent->ToHTMLString(htmlString); - XMLT_LOG(mozXMLTermSession::ToHTMLString,82,("htmlContent\n")); - } else { - domText->GetData(htmlString); - } - + domText->GetData(htmlString); } else { nsCOMPtr domElement = do_QueryInterface(aNode);