richedit: When inserting an OLE object from an RTF stream, don't force update as the stream is not fully read.

This commit is contained in:
Eric Pouech 2009-11-08 15:04:53 +01:00 committed by Alexandre Julliard
parent ab9c51dd6a
commit 38df8cfb04

View File

@ -1149,8 +1149,8 @@ static BOOL ME_RTFInsertOleObject(RTF_Info *info, HENHMETAFILE hemf, HBITMAP hbm
reobject.dwFlags = 0; /* FIXME */
reobject.dwUser = 0;
/* FIXME: could be simpler */
ret = IRichEditOle_InsertObject(info->lpRichEditOle, &reobject) == S_OK;
ME_InsertOLEFromCursor(info->editor, &reobject, 0);
ret = TRUE;
}
if (lpObject) IOleObject_Release(lpObject);