From 0a167aa1ccf46ab317dec717c91bd3b1fe048706 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sun, 8 Nov 2015 20:08:22 +0000 Subject: [PATCH] Removed commented code on Import/Export subroutines that's no longer required. --- source/export/export.cpp | 1 - source/import/import.cpp | 18 ++---------------- 2 files changed, 2 insertions(+), 17 deletions(-) diff --git a/source/export/export.cpp b/source/export/export.cpp index 88d8b28..d620c7b 100644 --- a/source/export/export.cpp +++ b/source/export/export.cpp @@ -82,7 +82,6 @@ void ExportRun(frmMain *frmMainPtrInc, wxArrayString *FileListInc){ // were exported. wxMessageBox(wxString::Format(_("%i contacts exported."), ExportCount), _("Contacts exported")); - //wxMessageBox(_("Selected contacts have been exported."), _("Contacts exported")); frmMainPtrInc->ResumeAllTimers(); diff --git a/source/import/import.cpp b/source/import/import.cpp index b85c4f6..3c825d1 100644 --- a/source/import/import.cpp +++ b/source/import/import.cpp @@ -66,9 +66,7 @@ void ImportRun(frmMain *frmMainPtrInc){ if (ExportType == 0){ ContactData = ImportVCard4(&SelectedFileList); - - //ImportVCard4(DirMode, FinalFilename, FileListInc, &ExportCount); - + } // vCard 3.0 export @@ -76,8 +74,6 @@ void ImportRun(frmMain *frmMainPtrInc){ if (ExportType == 1){ ContactData = ImportVCard3(&SelectedFileList); - - //ImportVCard3(DirMode, FinalFilename, FileListInc, &ExportCount); } @@ -163,7 +159,7 @@ void ImportRun(frmMain *frmMainPtrInc){ #if defined(__HAIKU__) - //preffilename = wxT("noo"); + #elif defined(__WIN32__) @@ -216,14 +212,6 @@ void ImportRun(frmMain *frmMainPtrInc){ UIDToken = iter->second.UIDValue; } - - //GenerateUUID(); - - /*if (iter->second.ContactSelected.UIDValue.IsEmpty()){ - - - - }*/ // Check if the file exists in the directory already. @@ -314,8 +302,6 @@ void ImportRun(frmMain *frmMainPtrInc){ } - //wxPostEvent - // Resume the timers. frmMainPtrInc->ResumeAllTimers(); -- 2.39.5