shdocvw: Use IID_IBrowserService2 defined in header.
authorPiotr Caban <piotr@codeweavers.com>
Mon, 14 Mar 2011 16:50:08 +0000 (17:50 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 15 Mar 2011 10:46:36 +0000 (11:46 +0100)
dlls/shdocvw/tests/webbrowser.c
dlls/shdocvw/webbrowser.c

index 10880651a7bc824662f1590ce1ce3fc68016ae74..e54e35d4ec5ab9ccdb71e2f2915fc39515652d5a 100644 (file)
@@ -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);
index a0a8020719d1d9257c5d6a1bf796e88a92b3e962..5df1f03296ab2fc8f46acc712ec18b1b306cc059 100644 (file)
@@ -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;