Jacek Caban : shdocvw: Don't release IOleInPlaceSite in DoVerb.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue May 16 06:24:54 CDT 2006
Module: wine
Branch: refs/heads/master
Commit: f69328e2df56df695b120fe39f7838fea25379d1
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=f69328e2df56df695b120fe39f7838fea25379d1
Author: Jacek Caban <jacek at codeweavers.com>
Date: Mon May 15 21:06:13 2006 +0200
shdocvw: Don't release IOleInPlaceSite in DoVerb.
---
dlls/shdocvw/oleobject.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/dlls/shdocvw/oleobject.c b/dlls/shdocvw/oleobject.c
index c7a9470..0b7188c 100644
--- a/dlls/shdocvw/oleobject.c
+++ b/dlls/shdocvw/oleobject.c
@@ -282,10 +282,6 @@ static HRESULT WINAPI OleObject_DoVerb(I
&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(I
TRACE("OLEIVERB_SHOW\n");
IOleInPlaceSite_OnUIActivate(This->inplace);
- IOleInPlaceSite_Release(This->inplace);
if(This->frame)
IOleInPlaceFrame_SetActiveObject(This->frame, ACTIVEOBJ(This), wszitem);
More information about the wine-cvs
mailing list