mobilemessaging/smsui/viewersrc/MsgSmsViewerAppUi.cpp
changeset 2 0bf1d54f37d9
parent 0 72b543305e3a
child 12 caea42e26caa
--- a/mobilemessaging/smsui/viewersrc/MsgSmsViewerAppUi.cpp	Thu Jan 07 12:45:05 2010 +0200
+++ b/mobilemessaging/smsui/viewersrc/MsgSmsViewerAppUi.cpp	Mon Jan 18 20:16:40 2010 +0200
@@ -955,7 +955,11 @@
             break;
         case R_FINDITEMMENU_MENU:
             {
-            iFindItemMenu->DisplayFindItemCascadeMenuL( *aMenuPane );
+            // Coverty fix , Forward NULL http://ousrv057/cov.cgi?cid=35945
+            if(iFindItemMenu)
+               {
+               iFindItemMenu->DisplayFindItemCascadeMenuL( *aMenuPane );
+         	   }
             }
             break;
         case R_SMSV_OPTIONSMENUPANE_CLASS0:
@@ -970,7 +974,8 @@
                 {
                 aMenuPane->DeleteMenuItem( EFindItemMenuPlaceHolder );
                 }
-            else
+            // Coverty fix , Forward NULL http://ousrv057/cov.cgi?cid=35945
+            else if(iFindItemMenu)
 	            {              
 	            iFindItemMenu->AddItemFindMenuL( 
                 IsBodyFocused() ? iView->ItemFinder() : 0,