}
+ // Process the LOCATION value.
+
+ if (LocationData.size() > 0){
+
+ DataLine += "LOCATION";
+
+ if (LocationDataAltRep.size() > 0){
+
+ DataLine += ";ALTREP=\"";
+ DataLine += LocationDataAltRep;
+ DataLine += "\"";
+
+ }
+
+ if (LocationDataLanguage.size() > 0){
+
+ DataLine += ";LANGUAGE=";
+ DataLine += LocationDataLanguage;
+
+ }
+
+ if (LocationDataTokens.size() > 0){
+
+ DataLine += ";";
+ DataLine += LocationDataTokens;
+
+ }
+
+ DataLine += ":";
+ DataLine += LocationData;
+ DataLine += "\n";
+
+ DataLineProcessed = OutputText(&DataLine);
+
+ *SaveData += DataLineProcessed;
+
+ DataLine.clear();
+ DataLineProcessed.clear();
+
+ }
+
*SaveData += "END:VTODO\n";
}
\ No newline at end of file