equal
deleted
inserted
replaced
32 #include <sysutil.h> |
32 #include <sysutil.h> |
33 #include <SmlDataProvider.h> |
33 #include <SmlDataProvider.h> |
34 #include <SmlDataFormat.h> |
34 #include <SmlDataFormat.h> |
35 #include <SmlDataSyncDefs.h> |
35 #include <SmlDataSyncDefs.h> |
36 #include <data_caging_path_literals.hrh> |
36 #include <data_caging_path_literals.hrh> |
37 #include <NSmlAgendaDataStore_1_1_2.rsg> |
37 #include <nsmlagendadatastore_1_1_2.rsg> |
38 #include <e32property.h> |
38 #include <e32property.h> |
39 #include <DataSyncInternalPSKeys.h> |
39 #include <DataSyncInternalPSKeys.h> |
40 #include <CalenImporter.h> |
40 #include <CalenImporter.h> |
41 #include <CalenInterimUtils2.h> |
41 #include <CalenInterimUtils2.h> |
42 #include <utf.h> |
42 #include <utf.h> |
654 } |
654 } |
655 writeStream.CommitL(); |
655 writeStream.CommitL(); |
656 iItemData->Compress(); |
656 iItemData->Compress(); |
657 iPos = 0; |
657 iPos = 0; |
658 |
658 |
659 iDataMod->StripTxL( *iItemData ); |
659 TRAPD(error,iDataMod->StripTxL( *iItemData )); |
|
660 if (error) |
|
661 { |
|
662 delete agendautil; |
|
663 delete calfilename; |
|
664 CleanupStack::PopAndDestroy( ); // writeStream |
|
665 User::RequestComplete( iCallerStatus, error); |
|
666 return; |
|
667 } |
660 delete agendautil; |
668 delete agendautil; |
661 delete calfilename; |
669 delete calfilename; |
662 } |
670 } |
663 break; |
671 break; |
664 default: |
672 default: |