Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
camelCase: Converted remaining code that was missed
[xestiacalendar/.git] / source / common / text.cpp
index 4581e38..5ef23f1 100644 (file)
@@ -20,7 +20,7 @@
 
 using namespace std;
 
-multimap<string, string> ProcessTextVectors(vector<string> *TextProperties,
+multimap<string, string> ProcessTextVectors(vector<string> *textProperties,
        vector<string> *textValues,
        bool searchMultiple,
        string property){
@@ -60,7 +60,7 @@ multimap<string, string> ProcessTextVectors(vector<string> *TextProperties,
                                break;
                        }
                        
-                       PropertyName += bufferChar;
+                       propertyName += bufferChar;
                        
                        textSeekCount++;
                        
@@ -169,7 +169,7 @@ PropertyNameValue SplitNameValue(string inputData){
                        finalNameValue.name = inputData.substr(0, seekCount);
                        
                        try{
-                               finalNameValue.Value = inputData.substr((seekCount + 1));
+                               finalNameValue.value = inputData.substr((seekCount + 1));
                        }
                        
                        catch (const out_of_range &oor){
@@ -186,7 +186,7 @@ PropertyNameValue SplitNameValue(string inputData){
        
        if (dataFound == false){
                
-               finalNameValue.Name = inputData;
+               finalNameValue.name = inputData;
                
        }
        
@@ -316,11 +316,11 @@ void SplitPathFilename(string *calendarEntryHREF, string *entryURIPath,
        
        // Get the string before the last hash for the path.
        
-       (*entryURIPath) = calendarEntryHREF->substr(0, (LastForwardSlash + 1));
+       (*entryURIPath) = calendarEntryHREF->substr(0, (lastForwardSlash + 1));
        
        // Get the string after the last hash for the filename.
        
-       (*entryFilename) = calendarEntryHREF->substr((LastForwardSlash + 1));
+       (*entryFilename) = calendarEntryHREF->substr((lastForwardSlash + 1));
                
 }
 
@@ -332,7 +332,7 @@ string OutputText(string *textInput){
        int lineSeek = 0;
        int maxLineSeek = 77;
        
-       for (charSeek = 0; charSeek < TextInput->size(); charSeek++){
+       for (charSeek = 0; charSeek < textInput->size(); charSeek++){
                
                lineSeek++;
                
@@ -342,7 +342,7 @@ string OutputText(string *textInput){
                                outputLine += textInput->substr(charSeek, 1);
                        }
                        outputLine += "\n";
-                       outputTextData += OutputLine;
+                       outputTextData += outputLine;
                        outputLine = " ";
                        lineSeek = 0;
                        maxLineSeek = 76;
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