messagingfw/biomsgfw/wappsrc/wapp.cpp
branchRCL_3
changeset 22 d2c4c66342f3
parent 0 8e480a14352b
child 23 d51193d814ea
equal deleted inserted replaced
21:e5b3a2155e1a 22:d2c4c66342f3
  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;
  3735 		TInt fileSize = 0;
  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();