From 32972d42a7a6ee70e91932634406447b188b23f2 Mon Sep 17 00:00:00 2001 From: "roc+%cs.cmu.edu" Date: Wed, 17 May 2006 02:38:36 +0000 Subject: [PATCH] Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin --- layout/inspector/src/inDOMView.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/layout/inspector/src/inDOMView.cpp b/layout/inspector/src/inDOMView.cpp index ddb0d74ffbcc..e95825949eeb 100644 --- a/layout/inspector/src/inDOMView.cpp +++ b/layout/inspector/src/inDOMView.cpp @@ -408,21 +408,21 @@ inDOMView::GetCellText(PRInt32 row, nsITreeColumn* col, nsAString& _retval) nsAutoString colID; col->GetId(colID); - if (colID.Equals(NS_LITERAL_STRING("colNodeName"))) + if (colID.EqualsLiteral("colNodeName")) domNode->GetNodeName(_retval); - else if (colID.Equals(NS_LITERAL_STRING("colLocalName"))) + else if (colID.EqualsLiteral("colLocalName")) domNode->GetLocalName(_retval); - else if (colID.Equals(NS_LITERAL_STRING("colPrefix"))) + else if (colID.EqualsLiteral("colPrefix")) domNode->GetPrefix(_retval); - else if (colID.Equals(NS_LITERAL_STRING("colNamespaceURI"))) + else if (colID.EqualsLiteral("colNamespaceURI")) domNode->GetNamespaceURI(_retval); - else if (colID.Equals(NS_LITERAL_STRING("colNodeType"))) { + else if (colID.EqualsLiteral("colNodeType")) { PRUint16 nodeType; domNode->GetNodeType(&nodeType); nsAutoString temp; temp.AppendInt(PRInt32(nodeType)); _retval = temp; - } else if (colID.Equals(NS_LITERAL_STRING("colNodeValue"))) + } else if (colID.EqualsLiteral("colNodeValue")) domNode->GetNodeValue(_retval); else { if (StringBeginsWith(colID, NS_LITERAL_STRING("col@"))) {