Revert "mshtml: Our realisation of HTMLDocument_open (fix eterbug #993)"
authorAlexander Morozov <amorozov@etersoft.ru>
Wed, 17 Aug 2011 15:16:12 +0000 (19:16 +0400)
committerTest Robot <wine-patches-test@office.etersoft.ru>
Wed, 17 Aug 2011 19:52:52 +0000 (23:52 +0400)
This reverts commit fe440e6bd61e8f831d4a4589af2e8c62c01e690a.

dlls/mshtml/htmldoc.c

index 341a1a008d3454a6a571e3e4d192ced32cbbe7de..3bd697648c7e489360a54ad4607b08ee5af4eeda 100644 (file)
@@ -965,12 +965,6 @@ static HRESULT WINAPI HTMLDocument_writeln(IHTMLDocument2 *iface, SAFEARRAY *psa
 static HRESULT WINAPI HTMLDocument_open(IHTMLDocument2 *iface, BSTR url, VARIANT name,
                         VARIANT features, VARIANT replace, IDispatch **pomWindowResult)
 {
-    /* Etersoft hack for eterbug #993 
-     * change realisation of function
-     */
-    TRACE("(%p)->(%s %p)\n", iface, debugstr_w(url), pomWindowResult);
-    return IHTMLDocument2_QueryInterface(iface, &IID_IDispatch, (void**)pomWindowResult);
-#if 0
     HTMLDocument *This = HTMLDOC_THIS(iface);
     nsresult nsres;
 
@@ -997,7 +991,6 @@ static HRESULT WINAPI HTMLDocument_open(IHTMLDocument2 *iface, BSTR url, VARIANT
     *pomWindowResult = (IDispatch*)HTMLWINDOW2(This->window);
     IHTMLWindow2_AddRef(HTMLWINDOW2(This->window));
     return S_OK;
-#endif
 }
 
 static HRESULT WINAPI HTMLDocument_close(IHTMLDocument2 *iface)