calendarui/views/src/calentodoview.cpp
branchRCL_3
changeset 13 0f07cd1b5772
parent 12 38571fd2a704
child 21 9711e452b5e9
--- a/calendarui/views/src/calentodoview.cpp	Fri Mar 12 15:42:35 2010 +0200
+++ b/calendarui/views/src/calentodoview.cpp	Mon Mar 15 12:40:18 2010 +0200
@@ -906,50 +906,6 @@
            ( iHighlightedRowNumber == KErrNotFound );
     }
 
-// ----------------------------------------------------------------------------
-// CCalenTodoView::CopyToCalendarsL
-// 
-// (other items were commented in a header)
-// ----------------------------------------------------------------------------
-//
-void CCalenTodoView::CopyToCalendarsL()
-    {
-    
-    // Hide the toolbar before we display settings menu
-       MCalenToolbar* toolbar = iServices.ToolbarOrNull();
-       if(toolbar)
-           {
-           toolbar->SetToolbarVisibilityL(EFalse);  
-           }
-
-       MCalenContext& context = iServices.Context();
-       TCalLocalUid instanceId = context.InstanceId().iEntryLocalUid;
-               
-       CCalEntry* entry = iServices.EntryViewL(context.InstanceId().iColId)->FetchL(instanceId);
-       CleanupStack::PushL(entry);
-       
-       RPointerArray<CCalEntry> entryArray;
-       entryArray.Append(entry);
-       
-       
-       // Launch the Calendar List Dialiog.
-       CMultiCalUiDialog* multiCalUiDialog = CMultiCalUiDialog::NewLC(entryArray , ETrue );
-       TInt err = KErrNone;
-       // Execute.
-       TRAP( err,multiCalUiDialog->LaunchL() );
-       CleanupStack::PopAndDestroy( multiCalUiDialog );
-       
-       // Unhide the toolbar when settings is closed
-       if(toolbar)
-           {
-           toolbar->SetToolbarVisibilityL(ETrue); 
-           }
-       
-       CleanupStack::Pop(entry);
-       entryArray.ResetAndDestroy();
-       
-       BeginRepopulationL();
-    }
 
 
 // ----------------------------------------------------------------------------