omadrm/drmengine/notifier/src/DRMNotifierSession.cpp
branchRCL_3
changeset 72 1481bf457703
parent 71 1221b68b8a5f
--- a/omadrm/drmengine/notifier/src/DRMNotifierSession.cpp	Tue Aug 31 15:29:38 2010 +0300
+++ b/omadrm/drmengine/notifier/src/DRMNotifierSession.cpp	Wed Sep 01 12:21:16 2010 +0100
@@ -142,7 +142,7 @@
 
     if( !iIsListening || iMessageQueue.Count() )
         {
-        iMessageQueue.AppendL ( aMessage );
+        iMessageQueue.Append( aMessage );
         return ETrue;
         }
     NotifyL( aMessage, EFalse );
@@ -274,9 +274,8 @@
 
     if( !iIsInStorage )
         {
-
-        User::LeaveIfError( iStorage->AddSession( this ) );
-        iIsInStorage = ETrue;        
+        iIsInStorage = ETrue;
+        iStorage->AddSession( this );
         }
 
     // Check if there are any notifications in queue if so process first one
@@ -355,7 +354,7 @@
     content->iContentID = NULL;
     content->iEventType = eventType;
 
-    iContentIDList.AppendL ( content );
+    iContentIDList.Append( content );
 
     aMessage.Complete( KErrNone );
     }
@@ -423,7 +422,7 @@
     content->iContentID = contentID;
     content->iEventType = eventType;
 
-    iContentIDList.AppendL ( content );
+    iContentIDList.Append( content );
 
     CleanupStack::Pop();
     aMessage.Complete( KErrNone );