From b0ec2349222de6143e6c1fc7ba0238e5ea39d35e Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Wed, 23 Mar 2016 21:53:55 +0000 Subject: [PATCH] Removed unused code from contacteditor/frmContactEditor-Save.cpp --- .../contacteditor/frmContactEditor-Save.cpp | 25 +------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/source/contacteditor/frmContactEditor-Save.cpp b/source/contacteditor/frmContactEditor-Save.cpp index afa36c7..24beefd 100644 --- a/source/contacteditor/frmContactEditor-Save.cpp +++ b/source/contacteditor/frmContactEditor-Save.cpp @@ -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::iterator iter = ContactEditorData.GeneralEmailList.begin(); iter != ContactEditorData.GeneralEmailList.end(); ++iter){ - //strValue3 = ContactData.Convert(GeneralAddressList, FALSE); - //strValue2 = - wxString strAddressFinalValue; std::map::iterator iterValue; @@ -1067,9 +1062,6 @@ void frmContactEditor::SaveContact( wxCommandEvent& event ) for (std::map::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::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::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. -- 2.39.5