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:
@@ -349,7 +349,9 @@ StringFunctionCall::evaluate(txIEvalContext* aContext, txAExprResult** aResult)
|
||||
return NS_ERROR_UNEXPECTED;
|
||||
}
|
||||
|
||||
nsresult StringFunctionCall::getNameAtom(nsIAtom** aAtom)
|
||||
#ifdef TX_TO_STRING
|
||||
nsresult
|
||||
StringFunctionCall::getNameAtom(nsIAtom** aAtom)
|
||||
{
|
||||
switch (mType) {
|
||||
case CONCAT:
|
||||
@@ -411,3 +413,4 @@ nsresult StringFunctionCall::getNameAtom(nsIAtom** aAtom)
|
||||
NS_ADDREF(*aAtom);
|
||||
return NS_OK;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user