idlehomescreen/xmluirendering/uiengine/src/xnextrenderingpluginwrapper.cpp
branchRCL_3
changeset 17 b8fae6b8a148
parent 9 f966699dea19
--- a/idlehomescreen/xmluirendering/uiengine/src/xnextrenderingpluginwrapper.cpp	Mon Mar 15 12:39:47 2010 +0200
+++ b/idlehomescreen/xmluirendering/uiengine/src/xnextrenderingpluginwrapper.cpp	Wed Mar 31 21:17:19 2010 +0300
@@ -226,6 +226,10 @@
     
     CXnNode* node = iNode->Node().UiEngine()->FindNodeByIdL( aDestination );
     CXnAppUiAdapter* appui = static_cast<CXnAppUiAdapter*>(iAvkonAppUi);
+    if ( !appui || !node )
+        {
+        User::Leave( KErrNotFound );
+        }
     appui->HandleEventL( aEvent, node->AppIfL() );
     }