Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Removed unused code from contacteditor/frmContactEditor-Save.cpp
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Wed, 23 Mar 2016 21:53:55 +0000 (21:53 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Wed, 23 Mar 2016 21:53:55 +0000 (21:53 +0000)
source/contacteditor/frmContactEditor-Save.cpp

index afa36c7..24beefd 100644 (file)
@@ -116,9 +116,7 @@ void frmContactEditor::SaveContact( wxCommandEvent& event )
                FilenameFinal = GetAccountDir(wxSContactAccount, FALSE);
         
 #if defined(__HAIKU__)
-        
-               //preffilename = wxT("noo");
-        
+                
 #elif defined(__WIN32__)
         
                FilenameFinal = GetAccountDir(wxSContactAccount, FALSE);
@@ -1045,9 +1043,6 @@ void frmContactEditor::SaveContact( wxCommandEvent& event )
        for (std::map<int,wxString>::iterator iter = ContactEditorData.GeneralEmailList.begin();
                iter != ContactEditorData.GeneralEmailList.end(); ++iter){
         
-               //strValue3 = ContactData.Convert(GeneralAddressList, FALSE);
-               //strValue2 =
-        
                wxString strAddressFinalValue;
                std::map<int, wxString>::iterator iterValue;
         
@@ -1067,9 +1062,6 @@ void frmContactEditor::SaveContact( wxCommandEvent& event )
        for (std::map<int,wxString>::iterator iter = ContactEditorData.HomeEmailList.begin();
                iter != ContactEditorData.HomeEmailList.end(); ++iter){
         
-               //strValue3 = ContactData.Convert(GeneralAddressList, FALSE);
-               //strValue2 =
-        
                ProcessSaveData(wxT("EMAIL;TYPE=home"), &strValue2, &boolValue2, &boolValue,
                        &iter, &ContactEditorData.HomeEmailList, &ContactData,
                        wxT("ALTID"), &ContactEditorData.HomeEmailListAltID,
@@ -1086,9 +1078,6 @@ void frmContactEditor::SaveContact( wxCommandEvent& event )
        for (std::map<int,wxString>::iterator iter = ContactEditorData.BusinessEmailList.begin();
                iter != ContactEditorData.BusinessEmailList.end(); ++iter){
         
-               //strValue3 = ContactData.Convert(GeneralAddressList, FALSE);
-               //strValue2 =
-        
                ProcessSaveData(wxT("EMAIL;TYPE=work"), &strValue2, &boolValue2, &boolValue,
                        &iter, &ContactEditorData.BusinessEmailList, &ContactData,
                        wxT("ALTID"), &ContactEditorData.BusinessEmailListAltID,
@@ -1967,7 +1956,6 @@ void frmContactEditor::SaveContact( wxCommandEvent& event )
                std::map<int, wxString>::iterator enciter;
         
                striter = ContactEditorData.KeyListDataType.find(intValue2);    
-               //enciter = KeyListAudioEncType.find(intValue2);
         
                wxString strValueData;
         
@@ -2131,8 +2119,6 @@ void frmContactEditor::SaveContact( wxCommandEvent& event )
         
        }
     
-       //ContactData.Add(wxT("FN"), cmbDisplayAs->GetValue(), FALSE);
-    
        // Insert revision (REV) date.
     
        // Get today's date and time.
@@ -2169,9 +2155,6 @@ void frmContactEditor::SaveContact( wxCommandEvent& event )
         
        }
     
-       //DateRev.Append(wx);
-       //DateRev.Append(wx);
-       //DateRev.Append(wx);
        DateRev.Append(wxT("T"));
 
        // Set hour, minute and second.
@@ -2210,9 +2193,6 @@ void frmContactEditor::SaveContact( wxCommandEvent& event )
         
        }
     
-       //   DateRev.Append(wx);
-       //   DateRev.Append(wx);
-       //   DateRev.Append(wxString DateTimeNow->);
        DateRev.Append(wxT("Z"));    
     
        ContactData.Add(wxT("UID"), ContactEditorData.UIDToken, FALSE);
@@ -2235,8 +2215,6 @@ void frmContactEditor::SaveContact( wxCommandEvent& event )
        wxString PrefDir;
     
 #if defined(__HAIKU__)
-    
-       //preffilename = wxT("noo");
 
 #elif defined(__APPLE__)
     
@@ -2287,7 +2265,6 @@ void frmContactEditor::SaveContact( wxCommandEvent& event )
        }
     
        wxSDataURL = wxSplitFilename;
-       //wxSDataURL.Append(wxSplitFilename);
     
        // Find out if the filename exists in the table.
     
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