equal
deleted
inserted
replaced
323 return EPluginInputModeItut; |
323 return EPluginInputModeItut; |
324 } |
324 } |
325 |
325 |
326 TInt CGenericItutUiLayout::SizeChanged(const TAny* /*pData*/) |
326 TInt CGenericItutUiLayout::SizeChanged(const TAny* /*pData*/) |
327 { |
327 { |
|
328 |
|
329 // For avoiding that NULL pointer is called |
|
330 // add UiMgr() and CurrentState() condition |
|
331 if( !( UiMgr() && UiMgr()->CurrentState())) |
|
332 { |
|
333 return KErrBadHandle; |
|
334 } |
|
335 |
328 TBool overLap = UiMgr()->CurrentState()->StateType() |
336 TBool overLap = UiMgr()->CurrentState()->StateType() |
329 == CGenericItutUiMgrBase::EStateMatchSelection ? ETrue: EFalse; |
337 == CGenericItutUiMgrBase::EStateMatchSelection ? ETrue: EFalse; |
330 |
338 |
331 iDataMgr->ReadLafInfo(); |
339 iDataMgr->ReadLafInfo(); |
332 |
340 |