From f1f645b345f8c47b4669ef5cb82c41847775aca7 Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Mon, 14 Mar 2011 17:50:08 +0100 Subject: [PATCH] shdocvw: Use IID_IBrowserService2 defined in header. --- dlls/shdocvw/tests/webbrowser.c | 3 +-- dlls/shdocvw/webbrowser.c | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dlls/shdocvw/tests/webbrowser.c b/dlls/shdocvw/tests/webbrowser.c index 10880651a7b..e54e35d4ec5 100644 --- a/dlls/shdocvw/tests/webbrowser.c +++ b/dlls/shdocvw/tests/webbrowser.c @@ -36,6 +36,7 @@ #include "olectl.h" #include "mshtmdid.h" #include "shobjidl.h" +#include "shdeprecated.h" #include "shlguid.h" #include "exdispid.h" #include "mimeinfo.h" @@ -2643,8 +2644,6 @@ static void test_IServiceProvider(IUnknown *unk) IServiceProvider *servprov = (void*)0xdeadbeef; HRESULT hres; IUnknown *ret = NULL; - static const IID IID_IBrowserService2 = - {0x68BD21CC,0x438B,0x11d2,{0xA5,0x60,0x00,0xA0,0xC,0x2D,0xBF,0xE8}}; hres = IUnknown_QueryInterface(unk, &IID_IServiceProvider, (void**)&servprov); ok(hres == S_OK, "QueryInterface returned %08x, expected S_OK\n", hres); diff --git a/dlls/shdocvw/webbrowser.c b/dlls/shdocvw/webbrowser.c index a0a8020719d..5df1f03296a 100644 --- a/dlls/shdocvw/webbrowser.c +++ b/dlls/shdocvw/webbrowser.c @@ -23,6 +23,7 @@ #include "shdocvw.h" #include "exdispid.h" #include "mshtml.h" +#include "shdeprecated.h" WINE_DEFAULT_DEBUG_CHANNEL(shdocvw); @@ -1140,8 +1141,6 @@ static HRESULT STDMETHODCALLTYPE WBServiceProvider_QueryService(IServiceProvider REFGUID guidService, REFIID riid, void **ppv) { WebBrowser *This = impl_from_IServiceProvider(iface); - static const IID IID_IBrowserService2 = - {0x68BD21CC,0x438B,0x11d2,{0xA5,0x60,0x00,0xA0,0xC,0x2D,0xBF,0xE8}}; if(*ppv) ppv = NULL;