From 2bfae8696e32a5d9b00188273447cf9ab8b567b9 Mon Sep 17 00:00:00 2001 From: Vincent Lucas Date: Wed, 15 May 2013 15:54:54 +0200 Subject: Corrects getting and setting work postal address without conflicting with the "this is the mailing address" checkbox. --- .../msoutlook/MsOutlookAddrBookContactQuery.cxx | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/native/addrbook/msoutlook') diff --git a/src/native/addrbook/msoutlook/MsOutlookAddrBookContactQuery.cxx b/src/native/addrbook/msoutlook/MsOutlookAddrBookContactQuery.cxx index 3abb648..daa7670 100644 --- a/src/native/addrbook/msoutlook/MsOutlookAddrBookContactQuery.cxx +++ b/src/native/addrbook/msoutlook/MsOutlookAddrBookContactQuery.cxx @@ -1501,6 +1501,26 @@ int MsOutlookAddrBookContactQuery_IMAPIProp_1SetPropString { updateValue.ulPropTag = 0x8046001F; } + else if(propId == 0x8045) // business address - street + { + updateValue.ulPropTag = 0x805F001F; + } + else if(propId == 0x8046) // business address - city + { + updateValue.ulPropTag = 0x8060001F; + } + else if(propId == 0x8047) // business address - state + { + updateValue.ulPropTag = 0x8061001F; + } + else if(propId == 0x8048) // business address - zip + { + updateValue.ulPropTag = 0x8062001F; + } + else if(propId == 0x8049) // business address - country + { + updateValue.ulPropTag = 0x8063001F; + } else { updateValue.ulPropTag = PROP_TAG(PT_UNICODE, propId); -- cgit v1.1