locationtriggering/ltcontainer/src/lbtcontainer.cpp
branchRCL_3
changeset 44 2b4ea9893b66
parent 0 667063e416a2
child 45 6b6920c56e2f
equal deleted inserted replaced
42:02ba3f1733c6 44:2b4ea9893b66
   348     
   348     
   349     TIdentityRelation<TLbtTriggerStoreChangeObserver> compareAlgoirthm(ObserverCompare);
   349     TIdentityRelation<TLbtTriggerStoreChangeObserver> compareAlgoirthm(ObserverCompare);
   350     
   350     
   351     if ( KErrNotFound == iObservers.Find(obsvr, compareAlgoirthm) )
   351     if ( KErrNotFound == iObservers.Find(obsvr, compareAlgoirthm) )
   352         {
   352         {
   353         iObservers.Append( obsvr );
   353         TInt error = iObservers.Append( obsvr );
       
   354         if( error != KErrNone )
       
   355             {
       
   356             LOG1("Failed to add observer to the array:%d",error);
       
   357             }
   354         }
   358         }
   355     }
   359     }
   356 
   360 
   357 // ---------------------------------------------------------------------------
   361 // ---------------------------------------------------------------------------
   358 // RemoveObserver
   362 // RemoveObserver