mobilemessaging/unieditor/smsplugin/src/UniSmsPlugin.cpp
branchRCL_3
changeset 13 a9c7e5670d17
parent 9 1d7827e39b52
--- a/mobilemessaging/unieditor/smsplugin/src/UniSmsPlugin.cpp	Fri Mar 12 15:42:19 2010 +0200
+++ b/mobilemessaging/unieditor/smsplugin/src/UniSmsPlugin.cpp	Mon Mar 15 12:40:06 2010 +0200
@@ -1831,7 +1831,11 @@
     iRichText->InsertL(0, aBuf);
     
     //call SMS stack API to get PDU info
-    smsMsg.GetEncodingInfoL( aNumOfPDUs, numOfUnconvChars, numOfDowngradedChars, aNumOfRemainingChars );
+    TRAPD( err, smsMsg.GetEncodingInfoL( aNumOfPDUs, numOfUnconvChars, numOfDowngradedChars, aNumOfRemainingChars ) );
+    if (err != KErrNone)
+        {
+            User::Leave(err);
+        }
     
 #ifdef USE_LOGGER
     UNILOGGER_WRITE(" ---Get Encoding Info details:--- ");