homescreensrv_plat/idlefw_api/inc/aiuicontroller.h
branchv5backport
changeset 76 62d594099fbe
parent 0 79c6a41cd166
--- a/homescreensrv_plat/idlefw_api/inc/aiuicontroller.h	Fri May 07 15:47:11 2010 +0200
+++ b/homescreensrv_plat/idlefw_api/inc/aiuicontroller.h	Mon May 24 12:15:02 2010 +0300
@@ -151,8 +151,9 @@
 
 inline CAiUiController* CAiUiController::NewL(TUid aImplUid)
     {
-    TAny* ptr = REComSession::CreateImplementationL(aImplUid,
-        _FOFF(CAiUiController, iDestructKey));
+    TAny* ptr( NULL );
+    TRAPD( err, ptr = REComSession::CreateImplementationL(aImplUid,
+        _FOFF(CAiUiController, iDestructKey)));
 
     return reinterpret_cast<CAiUiController*> (ptr);
     }