notepad/notepad1/LibSrc/NpdViewerDialog.cpp
branchRCL_3
changeset 60 96907930389d
parent 48 bf573002ff72
child 67 1539a383d7b6
equal deleted inserted replaced
59:aba12c885d83 60:96907930389d
    88     {
    88     {
    89     CNotepadDialogBase::ConstructL(rr);
    89     CNotepadDialogBase::ConstructL(rr);
    90     iAutoFinder = CItemFinder::NewL();
    90     iAutoFinder = CItemFinder::NewL();
    91     iFindMenu = CFindItemMenu::NewL( EFindItemMenuPlaceHolder );
    91     iFindMenu = CFindItemMenu::NewL( EFindItemMenuPlaceHolder );
    92     iFindMenu->AttachItemFinderMenuL(0);
    92     iFindMenu->AttachItemFinderMenuL(0);
       
    93     iFindMenu->SetCallSubMenuVisibility( EFalse ); // Click-To-Call
    93     iForwardLocked = EFalse;
    94     iForwardLocked = EFalse;
    94     iReturnValue = KErrNone;
    95     iReturnValue = KErrNone;
    95     iFileExist = EFalse;
    96     iFileExist = EFalse;
    96     iAutomaticHlValue = ETrue;
    97     iAutomaticHlValue = ETrue;
    97     iAutomaticHlInitialized = EFalse;
    98     iAutomaticHlInitialized = EFalse;
   113         delete iPeriodicTimer;
   114         delete iPeriodicTimer;
   114         iPeriodicTimer = NULL;
   115         iPeriodicTimer = NULL;
   115         }
   116         }
   116     delete iFilename;
   117     delete iFilename;
   117     delete iSendUi;
   118     delete iSendUi;
   118     iAutoFinder->SetItemFinderObserverL (0);
   119     TRAP_IGNORE( iAutoFinder->SetItemFinderObserverL( 0 ) );
   119     delete iAutoFinder;
   120     delete iAutoFinder;
   120     delete iFindMenu;
   121     delete iFindMenu;
   121     if( iNotifier )
   122     if( iNotifier )
   122         {
   123         {
   123         iNotifier->StopListening();
   124         iNotifier->StopListening();