diff -r 2828b4d142c0 -r 4ae315f230bc predictivesearch/PcsAlgorithm/Algorithm1/src/CPcsAlgorithm1FilterHelper.cpp --- a/predictivesearch/PcsAlgorithm/Algorithm1/src/CPcsAlgorithm1FilterHelper.cpp Tue May 11 16:00:21 2010 +0300 +++ b/predictivesearch/PcsAlgorithm/Algorithm1/src/CPcsAlgorithm1FilterHelper.cpp Tue May 25 12:26:45 2010 +0300 @@ -164,7 +164,7 @@ // // ---------------------------------------------------------------------------- -TInt CPcsAlgorithm1FilterHelper::AddToPoolL(CPsData* psData, +TInt CPcsAlgorithm1FilterHelper::AddToPoolL(CPsData* aPsData, RPointerArray& aPatternSequence) { @@ -182,7 +182,7 @@ TInt matchpatterpoolIndexToAppend = -1; - for(TInt cnt=0; cnt poolIndex; matchpatterpoolIndexToAppend = indexInMatchPatternDetails; - iMatchPatternPools[poolIndex]->InsertInOrderAllowRepeats(psData, psDataRule); - TInt findposition = iMatchPatternPools[poolIndex]->Find(psData,identitySearchRule) ; + iMatchPatternPools[poolIndex]->InsertInOrderAllowRepeats(aPsData, psDataRule); + TInt findposition = iMatchPatternPools[poolIndex]->Find(aPsData, identitySearchRule) ; if ( findposition != KErrNotFound ) { poolItemCount = findposition; @@ -212,7 +212,7 @@ // Check if aPatternSequence[cnt] is listed in subpatterns of aPatternSequence[0] // If not, then create a sub pattern and apped it to iMatchPatternDetails for aPatternSequence[0] TInt subSeq = FindSubSequence(*aPatternSequence[cnt], matchpatterpoolIndexToAppend); - if(subSeq == KErrNotFound ) + if ( subSeq == KErrNotFound ) { //Create the subpattern and append it.