summaryrefslogtreecommitdiff
path: root/libopie2
authorar <ar>2005-12-10 16:43:43 (UTC)
committer ar <ar>2005-12-10 16:43:43 (UTC)
commit3948be20fed2f54054eda97f7a203084e904093b (patch) (unidiff)
tree920892aa9efe49cf040fe4bf5bc883ea947792cf /libopie2
parentbb9f3cb27500b70124985fd51f90b7f8ded33588 (diff)
downloadopie-3948be20fed2f54054eda97f7a203084e904093b.zip
opie-3948be20fed2f54054eda97f7a203084e904093b.tar.gz
opie-3948be20fed2f54054eda97f7a203084e904093b.tar.bz2
- fix a problem with Sony Ericsson GSM. It can only handle vCards whitch have first set Cellular, Fax, Pager property and then HOME or WORK property.
Diffstat (limited to 'libopie2') (more/less context) (ignore whitespace changes)
-rw-r--r--libopie2/opiepim/backend/ocontactaccessbackend_vcard.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/libopie2/opiepim/backend/ocontactaccessbackend_vcard.cpp b/libopie2/opiepim/backend/ocontactaccessbackend_vcard.cpp
index 0ffbb67..5bc2755 100644
--- a/libopie2/opiepim/backend/ocontactaccessbackend_vcard.cpp
+++ b/libopie2/opiepim/backend/ocontactaccessbackend_vcard.cpp
@@ -469,11 +469,11 @@ VObject* OPimContactAccessBackend_VCard::createVObject( const OPimContact &c )
469 VObject *home_phone = safeAddPropValue( vcard, VCTelephoneProp, c.homePhone() ); 469 VObject *home_phone = safeAddPropValue( vcard, VCTelephoneProp, c.homePhone() );
470 safeAddProp( home_phone, VCHomeProp ); 470 safeAddProp( home_phone, VCHomeProp );
471 home_phone = safeAddPropValue( vcard, VCTelephoneProp, c.homeMobile() ); 471 home_phone = safeAddPropValue( vcard, VCTelephoneProp, c.homeMobile() );
472 safeAddProp( home_phone, VCHomeProp );
473 safeAddProp( home_phone, VCCellularProp ); 472 safeAddProp( home_phone, VCCellularProp );
474 home_phone = safeAddPropValue( vcard, VCTelephoneProp, c.homeFax() );
475 safeAddProp( home_phone, VCHomeProp ); 473 safeAddProp( home_phone, VCHomeProp );
474 home_phone = safeAddPropValue( vcard, VCTelephoneProp, c.homeFax() );
476 safeAddProp( home_phone, VCFaxProp ); 475 safeAddProp( home_phone, VCFaxProp );
476 safeAddProp( home_phone, VCHomeProp );
477 477
478 VObject *url = safeAddPropValue( vcard, VCURLProp, c.homeWebpage() ); 478 VObject *url = safeAddPropValue( vcard, VCURLProp, c.homeWebpage() );
479 safeAddProp( url, VCHomeProp ); 479 safeAddProp( url, VCHomeProp );
@@ -496,14 +496,14 @@ VObject* OPimContactAccessBackend_VCard::createVObject( const OPimContact &c )
496 VObject *work_phone = safeAddPropValue( vcard, VCTelephoneProp, c.businessPhone() ); 496 VObject *work_phone = safeAddPropValue( vcard, VCTelephoneProp, c.businessPhone() );
497 safeAddProp( work_phone, VCWorkProp ); 497 safeAddProp( work_phone, VCWorkProp );
498 work_phone = safeAddPropValue( vcard, VCTelephoneProp, c.businessMobile() ); 498 work_phone = safeAddPropValue( vcard, VCTelephoneProp, c.businessMobile() );
499 safeAddProp( work_phone, VCWorkProp );
500 safeAddProp( work_phone, VCCellularProp ); 499 safeAddProp( work_phone, VCCellularProp );
501 work_phone = safeAddPropValue( vcard, VCTelephoneProp, c.businessFax() );
502 safeAddProp( work_phone, VCWorkProp ); 500 safeAddProp( work_phone, VCWorkProp );
501 work_phone = safeAddPropValue( vcard, VCTelephoneProp, c.businessFax() );
503 safeAddProp( work_phone, VCFaxProp ); 502 safeAddProp( work_phone, VCFaxProp );
504 work_phone = safeAddPropValue( vcard, VCTelephoneProp, c.businessPager() );
505 safeAddProp( work_phone, VCWorkProp ); 503 safeAddProp( work_phone, VCWorkProp );
504 work_phone = safeAddPropValue( vcard, VCTelephoneProp, c.businessPager() );
506 safeAddProp( work_phone, VCPagerProp ); 505 safeAddProp( work_phone, VCPagerProp );
506 safeAddProp( work_phone, VCWorkProp );
507 507
508 url = safeAddPropValue( vcard, VCURLProp, c.businessWebpage() ); 508 url = safeAddPropValue( vcard, VCURLProp, c.businessWebpage() );
509 safeAddProp( url, VCWorkProp ); 509 safeAddProp( url, VCWorkProp );