diff -r 2c54b51f39c4 -r bb2d3e476f29 calendarui/caleneditor/src/caleneditordatahandler.cpp --- a/calendarui/caleneditor/src/caleneditordatahandler.cpp Mon Jul 26 13:54:38 2010 +0530 +++ b/calendarui/caleneditor/src/caleneditordatahandler.cpp Mon Aug 09 18:30:52 2010 +0530 @@ -23,6 +23,7 @@ // User Includes #include "caleneditordatahandler.h" #include "calendateutils.h" +#include "calenagendautils.h" #include #include "OstTraceDefinitions.h" #ifdef OST_TRACE_COMPILER_IN_USE @@ -170,7 +171,7 @@ OstTraceFunctionEntry0( CALENEDITORDATAHANDLER_ISALLDAYEDITED_ENTRY ); HbDataFormModelItem* alldayItem = mCalenEditor->allDayCheckBoxItem(); if (alldayItem) { - if (mOriginalEntry->type() == AgendaEntry::TypeEvent) { + if (CalenAgendaUtils::isAlldayEvent(*mOriginalEntry)) { if (alldayItem->contentWidgetData("checkState") == Qt::Checked) { OstTraceFunctionExit0( CALENEDITORDATAHANDLER_ISALLDAYEDITED_EXIT );