diff -r e3a25416bf1f -r b69cc3efe785 csxhelp/src/CSXHHtmlTopicContainer.cpp --- a/csxhelp/src/CSXHHtmlTopicContainer.cpp Wed Jun 09 09:28:21 2010 +0300 +++ b/csxhelp/src/CSXHHtmlTopicContainer.cpp Mon Jun 21 15:26:26 2010 +0300 @@ -285,9 +285,15 @@ { //Update the title bar CEikStatusPane* sp = CCSXHAppUi::GetInstance()->StatusPane(); - CAknTitlePane* titlePane = STATIC_CAST(CAknTitlePane*, - sp->ControlL(TUid::Uid(EEikStatusPaneUidTitle))); - titlePane->SetTextL(KNullDesC); + CAknTitlePane* titlePane = NULL; + TRAPD( err, titlePane = STATIC_CAST(CAknTitlePane*, + sp->ControlL( TUid::Uid( EEikStatusPaneUidTitle ) ) ) ); + if ( KErrNone == err ) + { + //If can't set Null text to title, no other good way to do further, + //so just ignore this leave + TRAP_IGNORE( titlePane->SetTextL( KNullDesC ) ); + } iBrCtrl->SetRect(TRect(0,0,0,0)); }