From: Steve Brokenshire Date: Wed, 20 Jan 2016 23:19:43 +0000 (+0000) Subject: Added CLIENTPIDMAP to ConvertToV3 X-Git-Tag: release-0.09~44 X-Git-Url: http://Server1/repobrowser/?a=commitdiff_plain;h=9466ceeb242fabe0f7e622c76bf2e8879a86345a;p=xestiaab%2F.git Added CLIENTPIDMAP to ConvertToV3 --- diff --git a/source/vcard/vcard34conv-v3conv.cpp b/source/vcard/vcard34conv-v3conv.cpp index 948649c..a518f8c 100644 --- a/source/vcard/vcard34conv-v3conv.cpp +++ b/source/vcard/vcard34conv-v3conv.cpp @@ -1713,6 +1713,24 @@ bool vCard34Conv::ConvertToV3(wxString Filename, wxString *wxSData){ } + } else if (wxSProperty.Mid(0, 12) == wxT("CLIENTPIDMAP")){ + + // Process the Client PID maps. + + int intPrevValue = 14; + + intPrevValue = ; + + if (((QuoteBreakPoint + 1) - intPrevValue) <= 0){ + + ContactDatav3.AddRaw(wxT("X-VCARD4-CLIENTPIDMAP"), wxSPropertySeg2); + + } else { + + ContactDatav3.AddRaw(wxT("X-VCARD4-CLIENTPIDMAP;") + ContactLine.Mid(intPrevValue, ((QuoteBreakPoint + 1) - (intPrevValue + 1))), wxSPropertySeg2); + + } + } // Reset the variables.