From 741bf6ee3184e573301ec5222fb5b98734ab8a6e Mon Sep 17 00:00:00 2001 From: "kvisco%ziplink.net" Date: Sat, 20 Jan 2001 04:42:26 +0000 Subject: [PATCH] Added implementation of evaluate git-svn-id: svn://10.0.0.236/trunk@85206 18797224-902f-48f8-a5cc-f745e15eee43 --- .../source/xslt/functions/CurrentFunctionCall.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mozilla/extensions/transformiix/source/xslt/functions/CurrentFunctionCall.cpp b/mozilla/extensions/transformiix/source/xslt/functions/CurrentFunctionCall.cpp index f2acb9b5ca2..f979b8f7221 100644 --- a/mozilla/extensions/transformiix/source/xslt/functions/CurrentFunctionCall.cpp +++ b/mozilla/extensions/transformiix/source/xslt/functions/CurrentFunctionCall.cpp @@ -21,9 +21,9 @@ CurrentFunctionCall::CurrentFunctionCall() : * @see FunctionCall.h **/ ExprResult* CurrentFunctionCall::evaluate(Node* context, ContextState* cs) { -// NodeSet* result = new NodeSet(0); -// result->add(cs->getCurrentNode); -// return result; - return new StringResult("function not yet implemented: current"); -} + + NodeSet* result = new NodeSet(1); + result->add(context); + return result; +} //-- evaluate