From fd9888ef50497618fab67cc379dd8fffa8b99e1b Mon Sep 17 00:00:00 2001 From: Ian Neal Date: Tue, 14 Jun 2011 16:26:11 +0100 Subject: [PATCH] Bug 664138 - Fix various build bustages following landing of |Bug 659053 - Remove nsIDOM3Node| - winlivemail fix r=neil --- mailnews/import/winlivemail/nsWMSettings.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mailnews/import/winlivemail/nsWMSettings.cpp b/mailnews/import/winlivemail/nsWMSettings.cpp index 2e27002b78..bf1a5254dd 100644 --- a/mailnews/import/winlivemail/nsWMSettings.cpp +++ b/mailnews/import/winlivemail/nsWMSettings.cpp @@ -72,7 +72,6 @@ #include "nsIFileStreams.h" #include "nsIDOMParser.h" #include "nsIDOMElement.h" -#include "nsIDOM3Node.h" #include "nsTArray.h" #include #include "nsIWindowsRegKey.h" @@ -241,8 +240,7 @@ nsresult WMSettings::GetValueForTag(nsIDOMDocument *xmlDoc, list->Item(0, getter_AddRefs(domNode)); if (!domNode) return NS_ERROR_FAILURE; - nsCOMPtr domChildNode(do_QueryInterface(domNode)); - return domChildNode->GetTextContent(value); + return domNode->GetTextContent(value); } nsresult WMSettings::MakeXMLdoc(nsIDOMDocument** xmlDoc,