diff -r 0d28c1c5b6dd -r 2828b4d142c0 predictivesearch/PcsAlgorithm/Algorithm1/src/CPcsCache.cpp --- a/predictivesearch/PcsAlgorithm/Algorithm1/src/CPcsCache.cpp Tue Apr 27 16:23:35 2010 +0300 +++ b/predictivesearch/PcsAlgorithm/Algorithm1/src/CPcsCache.cpp Tue May 11 16:00:21 2010 +0300 @@ -120,7 +120,7 @@ void CPcsCache::GetContactsForKeyL(TInt aKeyId, RPointerArray& aData) { PRINT ( _L("Enter CPcsCache::GetContactsForKeyL") ); - + CleanupClosePushL( aData ); if ( aKeyId >= 0 && aKeyId < iKeyArr.Count() ) { const RPointerArray& arr = *iKeyArr[aKeyId]; @@ -129,7 +129,7 @@ aData.AppendL(arr[i]); } } - + CleanupStack::Pop(); PRINT ( _L("End CPcsCache::GetContactsForKeyL") ); } @@ -140,12 +140,12 @@ void CPcsCache::GetAllContentsL(RPointerArray& aData) { PRINT ( _L("Enter CPcsCache::GetAllContentsL") ); - + CleanupClosePushL( aData ); for ( TInt i = 0; i < iMasterPool.Count(); i++ ) { aData.AppendL(iMasterPool[i]); } - + CleanupStack::Pop(); PRINT ( _L("End CPcsCache::GetAllContentsL") ); }