messagingapp/smartmessaging/ringbc/src/ringbc_p.cpp
changeset 48 4f501b74aeb1
parent 41 25fe1fe642e3
child 51 3507212d340e
--- a/messagingapp/smartmessaging/ringbc/src/ringbc_p.cpp	Tue Jul 13 22:09:22 2010 +0530
+++ b/messagingapp/smartmessaging/ringbc/src/ringbc_p.cpp	Sun Jul 25 18:59:19 2010 +0530
@@ -12,8 +12,7 @@
  * Contributors:
  *
  * Description:  
- *     A class which takes care of reading the possible new
- *     service centres from SIM and adds them to pda-side Sms Settings.
+ *     
  *
  */
 
@@ -40,9 +39,7 @@
 
     {
     QDEBUG_WRITE("RingBcPrivate::RingBcPrivate : Enter")
-
-    TRAP_IGNORE(initL());
-
+    initL();
     QDEBUG_WRITE("RingBcPrivate::RingBcPrivate : Exit")
 
     }
@@ -163,6 +160,10 @@
             }
         CleanupStack::PopAndDestroy(2); // title,fileMan        
         }
+    else
+    	{
+        User::Leave(KErrCorrupt);
+    	}
 
     CleanupStack::PopAndDestroy(); // dataBuf
     CleanupStack::PopAndDestroy(); //file