mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
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:
parent
ab9c51dd6a
commit
38df8cfb04
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user