equal
deleted
inserted
replaced
3730 bookmarkDb.CommitL(); |
3730 bookmarkDb.CommitL(); |
3731 CleanupStack::PopAndDestroy(&bookmarkDb); |
3731 CleanupStack::PopAndDestroy(&bookmarkDb); |
3732 #endif // SYMBIAN_BOOKMARK_DATABASE |
3732 #endif // SYMBIAN_BOOKMARK_DATABASE |
3733 |
3733 |
3734 // File writing has completed, set the size in the attachment |
3734 // File writing has completed, set the size in the attachment |
3735 TInt fileSize = 0; |
3735 TInt fileSize; |
3736 User::LeaveIfError(file.Size(fileSize)); |
3736 User::LeaveIfError(file.Size(fileSize)); |
3737 attachment->SetSize(fileSize); |
3737 attachment->SetSize(fileSize); |
3738 |
3738 |
3739 // commit the changes |
3739 // commit the changes |
3740 store->CommitL(); |
3740 store->CommitL(); |