summaryrefslogtreecommitdiff
path: root/libopie2
Unidiff
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
@@ -466,17 +466,17 @@ VObject* OPimContactAccessBackend_VCard::createVObject( const OPimContact &c )
466 safeAddPropValue( home_adr, VCCountryNameProp, c.homeCountry() ); 466 safeAddPropValue( home_adr, VCCountryNameProp, c.homeCountry() );
467 } 467 }
468 468
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 );
480 480
481 // work properties 481 // work properties
482 if ( !( c.businessStreet().isEmpty() 482 if ( !( c.businessStreet().isEmpty()
@@ -493,20 +493,20 @@ VObject* OPimContactAccessBackend_VCard::createVObject( const OPimContact &c )
493 safeAddPropValue( work_adr, VCCountryNameProp, c.businessCountry() ); 493 safeAddPropValue( work_adr, VCCountryNameProp, c.businessCountry() );
494 } 494 }
495 495
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 );
510 510
511 VObject *title = safeAddPropValue( vcard, VCTitleProp, c.jobTitle() ); 511 VObject *title = safeAddPropValue( vcard, VCTitleProp, c.jobTitle() );
512 safeAddProp( title, VCWorkProp ); 512 safeAddProp( title, VCWorkProp );