Not Logged In
|
Login
|
Register
Home
|
News
|
Projects
|
Releases
Bugs
|
RFE
|
Repositories
|
Help
projects
/
xestiaab
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed source code formatting in EMAIL for ConvertToV3
[xestiaab/.git]
/
source
/
contacteditor
/
cdo
/
ContactDataObject.cpp
diff --git
a/source/contacteditor/cdo/ContactDataObject.cpp
b/source/contacteditor/cdo/ContactDataObject.cpp
index
e715a2d
..
5085409
100644
(file)
--- a/
source/contacteditor/cdo/ContactDataObject.cpp
+++ b/
source/contacteditor/cdo/ContactDataObject.cpp
@@
-2468,9
+2468,21
@@
void ContactDataObject::ProcessGeographic(wxString PropertySeg1, wxString Proper
ProcessTokens(&PropertyName, &PropertyValue, &PropertyTokens, &FirstToken);
}
ProcessTokens(&PropertyName, &PropertyValue, &PropertyTokens, &FirstToken);
}
+
+ wxStringTokenizer GeoSplitData(PropertySeg2, wxT(":"));
- GeopositionList->insert(std::make_pair(*GeographicCount, PropertySeg2));
+ if (GeoSplitData.CountTokens() > 1){
+
+ GeopositionListDataType->insert(std::make_pair(*GeographicCount, GeoSplitData.GetNextToken()));
+ GeopositionList->insert(std::make_pair(*GeographicCount, GeoSplitData.GetString()));
+
+ } else {
+ GeopositionList->insert(std::make_pair(*GeographicCount, PropertySeg2));
+ GeopositionListDataType->insert(std::make_pair(*GeographicCount, "tel"));
+
+ }
+
// Add the name token data.
if (!PropertyTokens.IsEmpty()){
// Add the name token data.
if (!PropertyTokens.IsEmpty()){
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software
Xestia Address Book
Xestia Calendar
Development
Xestia Gelforn
Everything else
About
News
Privacy Policy