Jacek Caban : hhctrl.ocx: Remove useless SetHostNames call.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Feb 6 15:23:23 CST 2007


Module: wine
Branch: master
Commit: 8baee578cc9357a9efdf29e1b309e030a96f3813
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=8baee578cc9357a9efdf29e1b309e030a96f3813

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Tue Feb  6 20:45:26 2007 +0100

hhctrl.ocx: Remove useless SetHostNames call.

---

 dlls/hhctrl.ocx/webbrowser.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/dlls/hhctrl.ocx/webbrowser.c b/dlls/hhctrl.ocx/webbrowser.c
index b1cb1c9..154db88 100644
--- a/dlls/hhctrl.ocx/webbrowser.c
+++ b/dlls/hhctrl.ocx/webbrowser.c
@@ -585,8 +585,6 @@ BOOL WB_EmbedBrowser(WBInfo *pWBInfo, HW
     HRESULT hr;
     RECT rc;
 
-    static const WCHAR hostNameW[] = {'H','o','s','t',' ','N','a','m','e',0};
-
     /* clear out struct to keep from accessing invalid ptrs */
     ZeroMemory(pWBInfo, sizeof(WBInfo));
 
@@ -613,7 +611,6 @@ BOOL WB_EmbedBrowser(WBInfo *pWBInfo, HW
 
     /* make the browser object accessible to the IOleClientSite implementation */
     iOleClientSiteImpl->pBrowserObject = browserObject;
-    IOleObject_SetHostNames(browserObject, hostNameW, 0);
 
     GetClientRect(hwndParent, &rc);
 




More information about the wine-cvs mailing list