messagingfw/biomsgfw/IACPSRC/wwwp.CPP
changeset 47 d176b53f330f
parent 0 8e480a14352b
child 46 d51193d814ea
equal deleted inserted replaced
40:320ec5cd0227 47:d176b53f330f
   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();