Fix for bug 187907 (Expr::toString should be removed or debug-only). r=Pike, sr=jst.

git-svn-id: svn://10.0.0.236/trunk@155931 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
peterv%propagandism.org
2004-05-04 19:36:39 +00:00
parent 334478975e
commit ead4b5d13d
42 changed files with 293 additions and 243 deletions

View File

@@ -236,7 +236,9 @@ NodeSetFunctionCall::evaluate(txIEvalContext* aContext, txAExprResult** aResult)
return NS_ERROR_UNEXPECTED;
}
nsresult NodeSetFunctionCall::getNameAtom(nsIAtom** aAtom)
#ifdef TX_TO_STRING
nsresult
NodeSetFunctionCall::getNameAtom(nsIAtom** aAtom)
{
switch (mType) {
case COUNT:
@@ -283,3 +285,4 @@ nsresult NodeSetFunctionCall::getNameAtom(nsIAtom** aAtom)
NS_ADDREF(*aAtom);
return NS_OK;
}
#endif