calendarui/commonutils/src/calenagendautils.cpp
changeset 45 b6db4fd4947b
parent 18 c198609911f9
child 57 bb2d3e476f29
--- a/calendarui/commonutils/src/calenagendautils.cpp	Mon May 03 12:30:32 2010 +0300
+++ b/calendarui/commonutils/src/calenagendautils.cpp	Mon Jun 28 15:22:02 2010 +0530
@@ -30,43 +30,12 @@
 // ============================ CalenAgendaUtils ==============================
 
 // -----------------------------------------------------------------------------
-// CalenAgendaUtils::RemoveEntriesStartingAtMidnight
+// CalenAgendaUtils::EndsAtStartOfDay
 // ?implementation_description
 // (other items were commented in a header).
 // -----------------------------------------------------------------------------
 //
- void CalenAgendaUtils::removeEntriesEndingAtMidnightL( QList<AgendaEntry>& list, 
-                                                                const QDateTime& day )
-    {
-    TRACE_ENTRY_POINT;
-
-    // Remove events starting before aDay and ending at midnight
-    TInt i( 0 );
-
-    while( i < list.count() )
-        {
-        AgendaEntry& entry = list[i];
-
-        if( endsAtStartOfDayL( entry, day ) )
-            {
-            list.removeAt( i );
-            }
-        else
-            {
-            ++i;
-            }
-        }
-    
-    TRACE_EXIT_POINT;
-    }
-
-// -----------------------------------------------------------------------------
-// CalenAgendaUtils::EndsAtStartOfDayL
-// ?implementation_description
-// (other items were commented in a header).
-// -----------------------------------------------------------------------------
-//
- bool CalenAgendaUtils::endsAtStartOfDayL( AgendaEntry& entry,
+ bool CalenAgendaUtils::endsAtStartOfDay( AgendaEntry& entry,
                                           const QDateTime& day )
     {
     TRACE_ENTRY_POINT;