hhctrl.ocx: Remove useless SetHostNames call.

This commit is contained in:
Jacek Caban 2007-02-06 20:45:26 +01:00 committed by Alexandre Julliard
parent e88d033044
commit 8baee578cc

View File

@ -585,8 +585,6 @@ BOOL WB_EmbedBrowser(WBInfo *pWBInfo, HWND hwndParent)
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, HWND hwndParent)
/* make the browser object accessible to the IOleClientSite implementation */
iOleClientSiteImpl->pBrowserObject = browserObject;
IOleObject_SetHostNames(browserObject, hostNameW, 0);
GetClientRect(hwndParent, &rc);