messagingfw/biomsgfw/IACPSRC/wwwp.CPP
branchRCL_3
changeset 23 d51193d814ea
parent 22 d2c4c66342f3
equal deleted inserted replaced
22:d2c4c66342f3 23:d51193d814ea
   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 = 0;
   290 		TInt fileSize;
   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();