--- a/locationtriggering/ltserver/ltserverlogic/src/lbtappchangehandler.cpp Tue Aug 31 15:37:04 2010 +0300
+++ b/locationtriggering/ltserver/ltserverlogic/src/lbtappchangehandler.cpp Wed Sep 01 12:24:21 2010 +0100
@@ -148,12 +148,7 @@
TLbtAppInfo appInfo = iCurrentInstalledApps[i];
// The removed application resided in the MMC card
- TInt error = iAppList.Append( appInfo );
- if( error != KErrNone )
- {
- LOG1("Failed to append appInfo:%d",error);
- return;
- }
+ iAppList.Append( appInfo );
// Check if the application resides in MMC
if( appInfo.iFullName.FindC(iMMCDriveChar) >= 0 )
@@ -206,12 +201,7 @@
if( appInfo.iFullName.FindC( iMMCDriveChar ) >= 0 )
{
// Append to the array only if the application resides on the MMC
- TInt error = iAppList.Append( appInfo );
- if( error != KErrNone )
- {
- LOG1("Failed to append appInfo to the array:%d",error);
- return;
- }
+ iAppList.Append( appInfo );
}
}
}
@@ -324,12 +314,7 @@
for( TInt i=0;i<newAppList.Count();i++ )
{
- TInt error = iCurrentInstalledApps.Append( newAppList[i] );
- if( error != KErrNone )
- {
- LOG1("Failed to append new applist to the array:%d",error);
- break;
- }
+ iCurrentInstalledApps.Append( newAppList[i] );
}
newAppList.Close();
}
@@ -660,7 +645,7 @@
for(TInt i=0;i<iTriggerEntries.Count();++i)
{
- triggerIds.AppendL(iTriggerEntries[i]->TriggerEntry()->Id());
+ triggerIds.Append(iTriggerEntries[i]->TriggerEntry()->Id());
}
TLbtTriggerDynamicInfo::TLbtTriggerValidity validity;