From e529117acb29070100f6f6e3eafb75fbc20fc996 Mon Sep 17 00:00:00 2001 From: "sicking%bigfoot.com" Date: Wed, 2 Nov 2005 07:37:11 +0000 Subject: [PATCH] Bug 96478. Change the use of getAttributeNode and getAttribute to getAttr r=peterv sr=jst a=asa git-svn-id: svn://10.0.0.236/trunk@183593 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/content/xslt/src/xslt/txNodeSorter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/content/xslt/src/xslt/txNodeSorter.cpp b/mozilla/content/xslt/src/xslt/txNodeSorter.cpp index 1ad4e335420..bdf8c0aeee4 100644 --- a/mozilla/content/xslt/src/xslt/txNodeSorter.cpp +++ b/mozilla/content/xslt/src/xslt/txNodeSorter.cpp @@ -80,7 +80,7 @@ MBool txNodeSorter::addSortElement(Element* aSortElement, String attrValue; // Select - if (aSortElement->getAttributeNode(SELECT_ATTR)) + if (aSortElement->hasAttr(txXSLTAtoms::select, kNameSpaceID_None)) key->mExpr = mPs->getExpr(aSortElement, ProcessorState::SelectAttr); else { if (!mDefaultExpr) {