locationtriggering/ltcontainer/src/lbtcontainer.cpp
branchRCL_3
changeset 44 2b4ea9893b66
parent 0 667063e416a2
child 45 6b6920c56e2f
--- a/locationtriggering/ltcontainer/src/lbtcontainer.cpp	Thu Aug 19 10:20:18 2010 +0300
+++ b/locationtriggering/ltcontainer/src/lbtcontainer.cpp	Tue Aug 31 15:37:04 2010 +0300
@@ -350,7 +350,11 @@
     
     if ( KErrNotFound == iObservers.Find(obsvr, compareAlgoirthm) )
         {
-        iObservers.Append( obsvr );
+        TInt error = iObservers.Append( obsvr );
+        if( error != KErrNone )
+            {
+            LOG1("Failed to add observer to the array:%d",error);
+            }
         }
     }