predictivesearch/PcsUtils/src/CWords.cpp
branchRCL_3
changeset 21 b3431bff8c19
parent 0 e686773b3f54
child 64 c1e8ba0c2b16
--- 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);
         }
     }