Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Removed check from DURATION in CalendarEvent as it broke it.
[xestiacalendar/.git] / source / objects / calendarevent / CalendarEvent.cpp
index b3f658d..fc87973 100644 (file)
@@ -156,7 +156,7 @@ CalendarObjectValidResult CalendarEventObject::ValidObject(){
        }
        
        // Check if the VEVENT is valid.
-
+       
        if (ValidBegin == true && 
                ValidEnd == true && 
                ValidDateTimeStamp == true &&
@@ -816,14 +816,6 @@ void CalendarEventObject::ProcessData(){
                DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "DURATION");
                
                if (DataReceived.begin() != DataReceived.end()){
-       
-                       try {
-                               DurationDataTokens = DataReceived.begin()->first.substr(9);
-                       }
-               
-                       catch(const out_of_range &oor){
-                               // Do nothing as there is no data.
-                       }               
                
                        DurationData = DataReceived.begin()->second;
                
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy