idlefw/plugins/mcsplugin/handler/src/mcspluginhandler.cpp
branchRCL_3
changeset 51 15e4dd19031c
parent 9 d0529222e3f0
child 82 ace62b58f4b2
--- a/idlefw/plugins/mcsplugin/handler/src/mcspluginhandler.cpp	Mon Mar 15 12:41:53 2010 +0200
+++ b/idlefw/plugins/mcsplugin/handler/src/mcspluginhandler.cpp	Wed Mar 31 22:04:35 2010 +0300
@@ -231,19 +231,14 @@
         }
     else if ( param.Find( KParamValueMailbox ) != KErrNotFound ) // Mailbox
         {
-        TBool attrExists = ETrue;
         TInt pos = param.Locate( TChar( ':' ) ) + 1;
         TPtrC mailboxId = param.Mid( pos );
-
-        if ( attrExists )
-            {
-            TInt number;
-            TLex16 lextmp( mailboxId );
-            lextmp.Val( number );
-            TUid uId = TUid::Uid( number );
-            const TVwsViewId viewId( TUid::Uid( KMCSCmailUidValue ), TUid::Uid( KMCSCmailMailboxViewIdValue ) );
-            iVwsSession->CreateActivateViewEvent( viewId, uId, KNullDesC8() );
-            }
+        TInt number;
+        TLex16 lextmp( mailboxId );
+        lextmp.Val( number );
+        TUid uId = TUid::Uid( number );
+        const TVwsViewId viewId( TUid::Uid( KMCSCmailUidValue ), TUid::Uid( KMCSCmailMailboxViewIdValue ) );
+        iVwsSession->CreateActivateViewEvent( viewId, uId, KNullDesC8() );
         }
     else if ( param.Find( KMenuAttrParamLogs ) != KErrNotFound )
         {