taskswitcher/utils/src/tsidlist.cpp
changeset 127 7b66bc3c6dc9
parent 125 26079c1bb561
--- a/taskswitcher/utils/src/tsidlist.cpp	Wed Oct 13 12:59:22 2010 +0300
+++ b/taskswitcher/utils/src/tsidlist.cpp	Mon Oct 18 10:44:15 2010 +0300
@@ -68,15 +68,6 @@
     }
 
 //------------------------------------------------------------------------------
-void CTsIdList::AppendL(const TArray<TInt>& aArray)
-    {
-    for( TInt iter(0); iter < aArray.Count(); ++iter )
-        {
-        AppendL( aArray[iter] );
-        }
-    }
-
-//------------------------------------------------------------------------------
 void CTsIdList::AppendL(TInt aId)
     {
     if( !IsPresent( aId ) )
@@ -124,7 +115,7 @@
     TBool retVal(aList.iIds.Count() == iIds.Count());
     for( TInt offset(0); retVal && offset < iIds.Count(); ++offset )
         {
-        retVal = (KErrNotFound != aList.iIds.Find(iIds[offset]));
+        retVal = aList.IsPresent(iIds[offset]);
         }
     return retVal;
     }