- if (PropertyName == wxT("ALTID")){
-
- GeneralRelatedListAltID.erase(*RelatedCount);
- GeneralRelatedListAltID.insert(std::make_pair(*RelatedCount, PropertyValue));
-
- } else if (PropertyName == wxT("PID")){
+ ProcessStringValue(&PropertyName, "ALTID", &GeneralRelatedListAltID, &PropertyValue, RelatedCount, &PropertyMatched);
+ ProcessStringValue(&PropertyName, "PID", &GeneralRelatedListPID, &PropertyValue, RelatedCount, &PropertyMatched);
+ ProcessStringValue(&PropertyName, "LANGUAGE", &GeneralRelatedListLanguage, &PropertyValue, RelatedCount, &PropertyMatched);
+ ProcessIntegerValue(&PropertyName, "PREF", &GeneralRelatedListPref, &PropertyValue, RelatedCount, &PropertyMatched);