Commit f69328e2 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

shdocvw: Don't release IOleInPlaceSite in DoVerb.

parent f7d89201
......@@ -282,10 +282,6 @@ static HRESULT WINAPI OleObject_DoVerb(IOleObject *iface, LONG iVerb, struct tag
&This->pos_rect, &This->clip_rect,
&This->frameinfo);
if(iVerb == OLEIVERB_INPLACEACTIVATE)
IOleInPlaceSite_Release(This->inplace);
SetWindowPos(This->shell_embedding_hwnd, NULL,
This->pos_rect.left, This->pos_rect.top,
This->pos_rect.right-This->pos_rect.left,
......@@ -306,7 +302,6 @@ static HRESULT WINAPI OleObject_DoVerb(IOleObject *iface, LONG iVerb, struct tag
TRACE("OLEIVERB_SHOW\n");
IOleInPlaceSite_OnUIActivate(This->inplace);
IOleInPlaceSite_Release(This->inplace);
if(This->frame)
IOleInPlaceFrame_SetActiveObject(This->frame, ACTIVEOBJ(This), wszitem);
......
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