Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Removed previous version of ProcessIntegerValue.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Mon, 28 Dec 2015 05:22:35 +0000 (05:22 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Mon, 28 Dec 2015 05:22:35 +0000 (05:22 +0000)
source/contacteditor/ContactDataObject.cpp
source/contacteditor/ContactDataObject.h

index 6ee703e..7d8f535 100644 (file)
@@ -5206,30 +5206,6 @@ void ProcessIntegerValue(wxString *PropertyName,
 
 }
 
-void ProcessIntegerValue(std::map<int,int> *PrefPtr, 
-       wxString *PropertyValue, 
-       int *ItemCount){
-
-       int PriorityNumber = 0; 
-       bool ValidNumber = TRUE;
-                       
-       try{
-               PriorityNumber = std::stoi(PropertyValue->ToStdString());
-       }
-                       
-       catch(std::invalid_argument &e){
-               ValidNumber = FALSE;
-       }
-
-       if (ValidNumber == TRUE){
-
-               PrefPtr->erase(*ItemCount);
-               PrefPtr->insert(std::make_pair(*ItemCount, PriorityNumber));
-
-       }
-
-}
-
 void SplitValues(wxString *PropertyLine, 
        std::map<int,int> *SplitPoints, 
        std::map<int,int> *SplitLength, 
index a5c1fbb..6777544 100644 (file)
@@ -624,10 +624,6 @@ void ProcessIntegerValue(wxString *PropertyName,
        wxString *PropertyValue, 
        int *ItemCount,
        bool *PropertyMatched);
-       
-void ProcessIntegerValue(std::map<int,int> *PrefPtr, 
-       wxString *PropertyValue, 
-       int *ItemCount);
 
 void ProcessStringValue(wxString *PropertyName,
        wxString PropertyNameMatch,
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