locationtriggering/ltstrategyengine/src/lbttriggerview.cpp
branchRCL_3
changeset 45 6b6920c56e2f
parent 44 2b4ea9893b66
--- a/locationtriggering/ltstrategyengine/src/lbttriggerview.cpp	Tue Aug 31 15:37:04 2010 +0300
+++ b/locationtriggering/ltstrategyengine/src/lbttriggerview.cpp	Wed Sep 01 12:24:21 2010 +0100
@@ -102,12 +102,7 @@
                 return;
                 }
 
-            err = iRefRequestList.Append( req );
-            if( err != KErrNone )
-                {
-                LOG1("Failed to append req to the array:%d",err);
-                return;
-                }
+            iRefRequestList.Append( req );
             }
             
         LOG1( "View State is %d", iState );
@@ -135,12 +130,7 @@
     
     for( TInt index = 0; index < iModifiedTrgList.Count(); index++ )
         {
-        TInt error = aList.Append( iModifiedTrgList[index] );
-        if( error != KErrNone )
-            {
-            LOG1("Failed to append trigger id:%d",error);
-            return;
-            }
+        aList.Append( iModifiedTrgList[index] );
         }
     
     // This is done here because strategy engine invokes this method and evaluates all modified triggers
@@ -245,11 +235,7 @@
     reqParam.posInfo = aPosInfo;
     reqParam.trigger = aTrigger;
     reqParam.dataMask = aDataMask;
-    TInt error = iUpdateRequestList.Append( reqParam );
-    if( error != KErrNone )
-        {
-        LOG1("Failed to appenf reqParam:%d",error);
-        }
+    iUpdateRequestList.Append( reqParam );
     if( EIdle == iState )
         {
         iState = ERefreshContainer;