diff -r e175e2ba2fb0 -r 3efc7a0e8755 locationtriggering/ltcontainer/src/lbtcontainerao.cpp --- a/locationtriggering/ltcontainer/src/lbtcontainerao.cpp Fri Jul 23 19:40:48 2010 +0530 +++ b/locationtriggering/ltcontainer/src/lbtcontainerao.cpp Fri Aug 06 19:34:22 2010 +0530 @@ -455,15 +455,22 @@ RArray triggerIds; CLbtContainerTriggerEntry* entry = const_cast(createop->ContainerTriggerEntry()); - triggerIds.Append(entry->TriggerEntry()->Id()); - + TInt error = triggerIds.Append(entry->TriggerEntry()->Id()); + if( error != KErrNone ) + { + LOG1("Failed to append trigger ids to array:%d",error); + } TLbtTriggerEventMask eventMask; // Append the manager uids and owner uids into the array RArray managerui; - managerui.Append( entry->TriggerEntry()->ManagerUi() ); - + error = managerui.Append( entry->TriggerEntry()->ManagerUi() ); + if( error != KErrNone ) + { + LOG1("Failed to append trigger ids to array:%d",error); + } + TUid ownerUid; ownerUid.iUid = (TInt)( entry->ExtendedTriggerInfo()->OwnerSid().iId); managerui.Append( ownerUid ); @@ -659,7 +666,11 @@ RArray managerUis; for(TInt i=0;i