equal
deleted
inserted
replaced
285 bookmarkDb.CommitL(); |
285 bookmarkDb.CommitL(); |
286 CleanupStack::PopAndDestroy(&bookmarkDb); |
286 CleanupStack::PopAndDestroy(&bookmarkDb); |
287 #endif // SYMBIAN_BOOKMARK_DATABASE |
287 #endif // SYMBIAN_BOOKMARK_DATABASE |
288 |
288 |
289 // File writing has completed, set the size in the attachment |
289 // File writing has completed, set the size in the attachment |
290 TInt fileSize; |
290 TInt fileSize = 0; |
291 User::LeaveIfError(file.Size(fileSize)); |
291 User::LeaveIfError(file.Size(fileSize)); |
292 attachment->SetSize(fileSize); |
292 attachment->SetSize(fileSize); |
293 |
293 |
294 // commit the changes |
294 // commit the changes |
295 store->CommitL(); |
295 store->CommitL(); |