From 3ebf111e7fcc0edc1f6c65af512319fa76029fdd Mon Sep 17 00:00:00 2001 From: "jst%citec.fi" Date: Wed, 26 Jan 2000 16:01:49 +0000 Subject: [PATCH] Fixing build bustage, added missing .get() in a nsCOMPtr comparison. r=vidur@netscape.com git-svn-id: svn://10.0.0.236/trunk@58792 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/editor/base/nsHTMLEditor.cpp | 2 +- mozilla/editor/libeditor/html/nsHTMLEditor.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mozilla/editor/base/nsHTMLEditor.cpp b/mozilla/editor/base/nsHTMLEditor.cpp index f74459dcbb4..0852082d756 100644 --- a/mozilla/editor/base/nsHTMLEditor.cpp +++ b/mozilla/editor/base/nsHTMLEditor.cpp @@ -7276,7 +7276,7 @@ nsHTMLEditor::GetNextElementByTagName(nsIDOMElement *aCurrentElement, nsCOMPtr atom = GetTag(currentNode); - if (tagAtom==atom) + if (tagAtom==atom.get()) { nsCOMPtr element = do_QueryInterface(currentNode); if (!element) return NS_ERROR_NULL_POINTER; diff --git a/mozilla/editor/libeditor/html/nsHTMLEditor.cpp b/mozilla/editor/libeditor/html/nsHTMLEditor.cpp index f74459dcbb4..0852082d756 100644 --- a/mozilla/editor/libeditor/html/nsHTMLEditor.cpp +++ b/mozilla/editor/libeditor/html/nsHTMLEditor.cpp @@ -7276,7 +7276,7 @@ nsHTMLEditor::GetNextElementByTagName(nsIDOMElement *aCurrentElement, nsCOMPtr atom = GetTag(currentNode); - if (tagAtom==atom) + if (tagAtom==atom.get()) { nsCOMPtr element = do_QueryInterface(currentNode); if (!element) return NS_ERROR_NULL_POINTER;