Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Replace most RecurranceRuleData structure with RecurranceRuleDataTokens.
[xestiacalendar/.git] / source / objects / calendarevent / CalendarEvent.cpp
index 55d9604..42b1a33 100644 (file)
@@ -665,24 +665,6 @@ void CalendarEventObject::ProcessData(){
                
        }
        
-       // Process the data from TRANSP.
-       
-       DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "TRANSP");
-       
-       if (DataReceived.begin() != DataReceived.end()){
-       
-               try {
-                       TimeTransparencyDataTokens = DataReceived.begin()->first.substr(7);
-               }
-               
-               catch(const out_of_range &oor){
-                       // Do nothing as there is no data.
-               }               
-               
-               TimeTransparencyData = DataReceived.begin()->second;
-               
-       }
-       
        // Process the data from URL.
        
        DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "URL");
@@ -755,4 +737,22 @@ void CalendarEventObject::ProcessData(){
                
        }
        
+       // Process the data from RRULE.
+       
+       DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "RRULE");
+       
+       if (DataReceived.begin() != DataReceived.end()){
+       
+               try {
+                       RecurranceRuleDataTokens = DataReceived.begin()->first.substr(6);
+               }
+               
+               catch(const out_of_range &oor){
+                       // Do nothing as there is no data.
+               }               
+               
+               RecurranceRuleData = 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