equal
deleted
inserted
replaced
20 #include "creator_message.h" |
20 #include "creator_message.h" |
21 #include "creator_traces.h" |
21 #include "creator_traces.h" |
22 #include "creator_contactsetcache.h" |
22 #include "creator_contactsetcache.h" |
23 #include <apgcli.h> |
23 #include <apgcli.h> |
24 #include <MuiuMsvUiServiceUtilities.h> |
24 #include <MuiuMsvUiServiceUtilities.h> |
|
25 #include <utf.h> |
25 |
26 |
26 #if(!defined __SERIES60_30__ && !defined __SERIES60_31__) |
27 #if(!defined __SERIES60_30__ && !defined __SERIES60_31__) |
27 #include <MVPbkFieldType.h> |
28 #include <MVPbkFieldType.h> |
28 #include <MVPbkContactOperationBase.h> |
29 #include <MVPbkContactOperationBase.h> |
29 #include <MVPbkStoreContactFieldCollection.h> |
30 #include <MVPbkStoreContactFieldCollection.h> |
788 CleanupStack::Pop(); // attachmentInfo |
789 CleanupStack::Pop(); // attachmentInfo |
789 CleanupStack::PushL(waiter); |
790 CleanupStack::PushL(waiter); |
790 waiter->StartAndWait(); |
791 waiter->StartAndWait(); |
791 CleanupStack::PopAndDestroy(waiter); |
792 CleanupStack::PopAndDestroy(waiter); |
792 |
793 |
793 HBufC8* tempBuf = HBufC8::NewLC( parameters.iMessageBodyText->Des().Length() ); |
794 HBufC8* tempBuf = CnvUtfConverter::ConvertFromUnicodeToUtf8L( parameters.iMessageBodyText->Des() ); |
794 tempBuf->Des().Copy( parameters.iMessageBodyText->Des() ); |
795 CleanupStack::PushL(tempBuf); |
795 textFile.Write( tempBuf->Des() ); |
796 textFile.Write( tempBuf->Des() ); |
796 textFile.Close(); |
797 textFile.Close(); |
797 CleanupStack::PopAndDestroy(); //tempBuf |
798 CleanupStack::PopAndDestroy(); //tempBuf |
798 |
799 |
799 CleanupStack::PopAndDestroy(); //mimeHeaders |
800 CleanupStack::PopAndDestroy(); //mimeHeaders |