Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Removed unused variables from contacteditor/frmContactEditor-Home.cpp
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Thu, 17 Mar 2016 08:26:11 +0000 (08:26 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Thu, 17 Mar 2016 08:26:11 +0000 (08:26 +0000)
source/contacteditor/frmContactEditor-Home.cpp

index 7aa3830..8cbc7e1 100644 (file)
@@ -38,11 +38,8 @@ void frmContactEditor::AddHomeNickname( wxCommandEvent& event )
        
        // Bring up window to add nickname.
        
-       int intResult = 0;
-    
        frmContactEditorNickname *frameCENickname = new frmContactEditorNickname ( this );
        frameCENickname->SetEditorMode(FALSE, CE_HOME);
-       intResult = GetLastInt(&ContactEditorData.HomeNicknamesList);
        frameCENickname->SetupPointers(&ContactEditorData.HomeNicknamesList,
                &ContactEditorData.HomeNicknamesListAltID,
                 &ContactEditorData.HomeNicknamesListPID,
@@ -121,11 +118,8 @@ void frmContactEditor::AddHomeAddress( wxCommandEvent& event )
        
        // Bring up window to add address.      
        
-       int intResult = 0;
-    
        frmContactEditorAddress *frameCEAddress = new frmContactEditorAddress ( this );
        frameCEAddress->SetEditorMode(FALSE, CE_HOME);
-       intResult = GetLastInt(&ContactEditorData.HomeAddressList);
        frameCEAddress->SetupPointers(&ContactEditorData.HomeAddressList,
                &ContactEditorData.HomeAddressListTown,
                &ContactEditorData.HomeAddressListCounty,
@@ -221,11 +215,8 @@ void frmContactEditor::AddHomeEmail( wxCommandEvent& event )
        
        // Bring up window to add email.
        
-       int intResult = 0;
-    
        frmContactEditorEmail *frameCEEmail = new frmContactEditorEmail ( this );
        frameCEEmail->SetEditorMode(FALSE, CE_HOME);
-       intResult = GetLastInt(&ContactEditorData.HomeAddressList);
        frameCEEmail->SetupPointers(&ContactEditorData.HomeEmailList,
                 &ContactEditorData.HomeEmailListAltID,
                &ContactEditorData.HomeEmailListPID,
@@ -300,11 +291,8 @@ void frmContactEditor::AddHomeIM( wxCommandEvent& event )
        
        // Bring up window to add IM.
        
-       int intResult = 0;
-    
        frmContactEditorIM *frameCEIM = new frmContactEditorIM ( this );
        frameCEIM->SetEditorMode(FALSE, CE_HOME);
-       intResult = GetLastInt(&ContactEditorData.HomeIMList);
        frameCEIM->SetupPointers(&ContactEditorData.HomeIMList,
                &ContactEditorData.HomeIMListAltID,
                &ContactEditorData.HomeIMListPID,
@@ -382,11 +370,8 @@ void frmContactEditor::AddHomeTelephone( wxCommandEvent& event )
        
        // Bring up window to add telephone.
        
-       int intResult = 0;
-    
        frmContactEditorTelephone *frameCETel = new frmContactEditorTelephone ( this );
        frameCETel->SetEditorMode(FALSE, CE_HOME);
-       intResult = GetLastInt(&ContactEditorData.HomeTelephoneList);
        frameCETel->SetupPointers(&ContactEditorData.HomeTelephoneList,
                &ContactEditorData.HomeTelephoneListAltID,
                &ContactEditorData.HomeTelephoneListPID,
@@ -461,12 +446,8 @@ void frmContactEditor::AddHomeLanguage( wxCommandEvent& event )
        
        // Bring up window to add language.
        
-       int intResult = 0;
-    
        frmContactEditorLanguages *frameCELang = new frmContactEditorLanguages ( this );
        frameCELang->SetEditorMode(FALSE, CE_HOME);
-       intResult = GetLastInt(&ContactEditorData.HomeLanguageList);
-       
        frameCELang->SetupPointers(&ContactEditorData.HomeLanguageList,
                &ContactEditorData.HomeLanguageListAltID,
                &ContactEditorData.HomeLanguageListPID,
@@ -539,11 +520,8 @@ void frmContactEditor::AddHomeTimezone( wxCommandEvent& event )
        
        // Bring up window to add timezone.
        
-       int intResult = 0;
-    
        frmContactEditorTimezones *frameCETZ = new frmContactEditorTimezones ( this );
        frameCETZ->SetEditorMode(FALSE, CE_HOME);
-       intResult = GetLastInt(&ContactEditorData.HomeTZList);
        frameCETZ->SetupPointers(&ContactEditorData.HomeTZList,
                &ContactEditorData.HomeTZListAltID,
                &ContactEditorData.HomeTZListPID,
@@ -618,11 +596,8 @@ void frmContactEditor::AddHomeGeoposition( wxCommandEvent& event )
 
        // Bring up window to add geoposition.
        
-       int intResult = 0;
-    
        frmContactEditorGeoposition *frameCEGeo = new frmContactEditorGeoposition ( this );
        frameCEGeo->SetEditorMode(FALSE, CE_HOME);
-       intResult = GetLastInt(&ContactEditorData.HomeGeographyList);
        frameCEGeo->SetupPointers(&ContactEditorData.HomeGeographyList,
                &ContactEditorData.HomeGeographyListAltID,
                &ContactEditorData.HomeGeographyListPID,
@@ -700,11 +675,8 @@ void frmContactEditor::AddHomeWebsite( wxCommandEvent& event )
 
        // Bring up window to add website.
        
-       int intResult = 0;
-    
        frmContactEditorWebsites *frameCEWeb = new frmContactEditorWebsites ( this );
        frameCEWeb->SetEditorMode(FALSE, CE_HOME);
-       intResult = GetLastInt(&ContactEditorData.HomeWebsiteList);
        frameCEWeb->SetupPointers(&ContactEditorData.HomeWebsiteList,
                &ContactEditorData.HomeWebsiteListAltID,
                &ContactEditorData.HomeWebsiteListPID,
@@ -779,11 +751,8 @@ void frmContactEditor::AddHomeTitle( wxCommandEvent& event )
        
        // Bring up window to add title.
        
-       int intResult = 0;
-    
        frmContactEditorTitles *frameCETitle = new frmContactEditorTitles ( this );
        frameCETitle->SetEditorMode(FALSE, CE_HOME);
-       intResult = GetLastInt(&ContactEditorData.HomeTitleList);
        frameCETitle->SetupPointers(&ContactEditorData.HomeTitleList,
                &ContactEditorData.HomeTitleListLanguage,
                &ContactEditorData.HomeTitleListAltID,
@@ -858,11 +827,8 @@ void frmContactEditor::AddHomeRole( wxCommandEvent& event )
        
        // Bring up window to add role.
        
-       int intResult = 0;
-    
        frmContactEditorRoles *frameCERole = new frmContactEditorRoles ( this );
        frameCERole->SetEditorMode(FALSE, CE_HOME);
-       intResult = GetLastInt(&ContactEditorData.HomeRoleList);
        frameCERole->SetupPointers(&ContactEditorData.HomeRoleList,
                &ContactEditorData.HomeRoleListLanguage,
                &ContactEditorData.HomeRoleListAltID,
@@ -937,11 +903,8 @@ void frmContactEditor::AddHomeOrganisation( wxCommandEvent& event )
        
        // Bring up window to add organisation.
        
-       int intResult = 0;
-    
        frmContactEditorOrganisations *frameCEOrg = new frmContactEditorOrganisations ( this );
        frameCEOrg->SetEditorMode(FALSE, CE_HOME);
-       intResult = GetLastInt(&ContactEditorData.HomeOrganisationsList);
        frameCEOrg->SetupPointers(&ContactEditorData.HomeOrganisationsList,
                &ContactEditorData.HomeOrganisationsListLanguage,
                &ContactEditorData.HomeOrganisationsListSortAs,
@@ -1019,11 +982,8 @@ void frmContactEditor::AddHomeNote( wxCommandEvent& event )
        
        // Bring up window to add note.
        
-       int intResult = 0;
-    
        frmContactEditorNotes *frameCENote = new frmContactEditorNotes ( this );
        frameCENote->SetEditorMode(FALSE, CE_HOME);
-       intResult = GetLastInt(&ContactEditorData.HomeNoteList);
        frameCENote->SetupPointers(&ContactEditorData.HomeNoteList,
                &ContactEditorData.HomeNoteListLanguage,
                &ContactEditorData.HomeNoteListAltID,
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