Commit 38df8cfb authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

richedit: When inserting an OLE object from an RTF stream, don't force update as…

richedit: When inserting an OLE object from an RTF stream, don't force update as the stream is not fully read.
parent ab9c51dd
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment