diff -r e8e3147d53eb -r b3431bff8c19 predictivesearch/PcsUtils/src/CWords.cpp --- a/predictivesearch/PcsUtils/src/CWords.cpp Mon Mar 15 12:39:26 2010 +0200 +++ b/predictivesearch/PcsUtils/src/CWords.cpp Wed Mar 31 21:13:53 2010 +0300 @@ -65,7 +65,7 @@ } const TInt len = end-beg; // Append found word to the array - User::LeaveIfError(iWords.Append(aText.Mid(beg,len))); + iWords.AppendL( aText.Mid(beg,len) ); // Scan for next word beg = end; } @@ -74,7 +74,7 @@ if (iWords.Count()==0 && textLength > 0) { // aText is all word separator characters -> make a "word" out of those - User::LeaveIfError(iWords.Append(aText)); + iWords.AppendL(aText); } }