--- 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();
- }
// ----------------------------------------------------------------------------