From ca7ab7c43c07ac20df6f20f6b0ae841ce316a785 Mon Sep 17 00:00:00 2001 From: "axel%pike.org" Date: Wed, 2 Nov 2005 07:35:50 +0000 Subject: [PATCH] not part of build; fixing 72532; r=peterv --- content/xslt/src/xpath/txNodeSetFunctionCall.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/content/xslt/src/xpath/txNodeSetFunctionCall.cpp b/content/xslt/src/xpath/txNodeSetFunctionCall.cpp index 31c0118662c7..29b5eaa87566 100644 --- a/content/xslt/src/xpath/txNodeSetFunctionCall.cpp +++ b/content/xslt/src/xpath/txNodeSetFunctionCall.cpp @@ -24,14 +24,14 @@ * Marina Mechtcheriakova, mmarina@mindspring.com * -- changed some behavoir to be more compliant with spec * - * $Id: txNodeSetFunctionCall.cpp,v 1.3 2005/11/02 07:33:46 axel%pike.org Exp $ + * $Id: txNodeSetFunctionCall.cpp,v 1.4 2005/11/02 07:33:47 axel%pike.org Exp $ */ /** * NodeSetFunctionCall * A representation of the XPath NodeSet funtions * @author Keith Visco - * @version $Revision: 1.3 $ $Date: 2005/11/02 07:33:46 $ + * @version $Revision: 1.4 $ $Date: 2005/11/02 07:33:47 $ **/ #include "FunctionLib.h" @@ -126,11 +126,11 @@ ExprResult* NodeSetFunctionCall::evaluate(Node* context, ContextState* cs) { exprResult->stringValue(lIDList); }; lIDList.trim(); - Int32 start=0; + Int32 start=0,end; MBool hasSpace = MB_FALSE, isSpace; UNICODE_CHAR cc; String thisID; - for (Int32 end=0; endadd(context->getOwnerDocument()->getElementById(thisID)); result = resultSet; }; break;