Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Removed unused variable, code formatting cleanup and set a variable to return as...
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 2 Aug 2015 18:57:50 +0000 (19:57 +0100)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 2 Aug 2015 18:57:50 +0000 (19:57 +0100)
source/contacteditor/frmContactEditorGroups.cpp

index 46a8253..d72c8bc 100755 (executable)
@@ -150,18 +150,18 @@ void frmContactEditorGroup::FetchContacts( wxInitDialogEvent& event )
                \r
     } else {\r
                \r
-       ContactIndex = vCardNamesDsc.size() - 1;\r
+        ContactIndex = (int)(vCardNamesDsc.size() - 1);\r
                \r
-        for (std::map<wxString,ContactData>::iterator iter = vCardNamesDsc.begin(); \r
-       iter != vCardNamesDsc.end(); ++iter){\r
+        for (std::map<wxString,ContactData>::iterator iter = vCardNamesDsc.begin();\r
+             iter != vCardNamesDsc.end(); ++iter){\r
 \r
-          chkContacts->InsertItems(1, &iter->first, 0);\r
+            chkContacts->InsertItems(1, &iter->first, 0);\r
 \r
-          ContactNamesData.insert(std::make_pair(ContactIndex, iter->second));         \r
-       \r
-          ContactIndex--;\r
+            ContactNamesData.insert(std::make_pair(ContactIndex, iter->second));\r
+        \r
+            ContactIndex--;\r
 \r
-       }\r
+        }\r
        \r
     }\r
 \r
@@ -192,8 +192,6 @@ void frmContactEditorGroup::ProcessData( wxCommandEvent& event )
                        \r
                        }\r
                        \r
-                       std::map<int, ContactData>::iterator CDataIter = ContactNamesData.find(i);\r
-                       \r
                        wxListItem ItemData;\r
                        ItemData.SetId(0);\r
                        ItemData.SetText(chkContacts->GetString(i));\r
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