msxml3: Don't cast from a COM object to an iface.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de> Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c6cded7460
commit
158e7e26fc
|
@ -1560,19 +1560,19 @@ static HRESULT WINAPI
|
|||
httprequest_ObjectWithSite_QueryInterface( IObjectWithSite* iface, REFIID riid, void** ppvObject )
|
||||
{
|
||||
httprequest *This = impl_from_IObjectWithSite(iface);
|
||||
return IXMLHTTPRequest_QueryInterface( (IXMLHTTPRequest *)This, riid, ppvObject );
|
||||
return IXMLHTTPRequest_QueryInterface(&This->IXMLHTTPRequest_iface, riid, ppvObject);
|
||||
}
|
||||
|
||||
static ULONG WINAPI httprequest_ObjectWithSite_AddRef( IObjectWithSite* iface )
|
||||
{
|
||||
httprequest *This = impl_from_IObjectWithSite(iface);
|
||||
return IXMLHTTPRequest_AddRef((IXMLHTTPRequest *)This);
|
||||
return IXMLHTTPRequest_AddRef(&This->IXMLHTTPRequest_iface);
|
||||
}
|
||||
|
||||
static ULONG WINAPI httprequest_ObjectWithSite_Release( IObjectWithSite* iface )
|
||||
{
|
||||
httprequest *This = impl_from_IObjectWithSite(iface);
|
||||
return IXMLHTTPRequest_Release((IXMLHTTPRequest *)This);
|
||||
return IXMLHTTPRequest_Release(&This->IXMLHTTPRequest_iface);
|
||||
}
|
||||
|
||||
static HRESULT WINAPI httprequest_ObjectWithSite_GetSite( IObjectWithSite *iface, REFIID iid, void **ppvSite )
|
||||
|
@ -1656,19 +1656,19 @@ static const IObjectWithSiteVtbl ObjectWithSiteVtbl =
|
|||
static HRESULT WINAPI httprequest_Safety_QueryInterface(IObjectSafety *iface, REFIID riid, void **ppv)
|
||||
{
|
||||
httprequest *This = impl_from_IObjectSafety(iface);
|
||||
return IXMLHTTPRequest_QueryInterface( (IXMLHTTPRequest *)This, riid, ppv );
|
||||
return IXMLHTTPRequest_QueryInterface(&This->IXMLHTTPRequest_iface, riid, ppv);
|
||||
}
|
||||
|
||||
static ULONG WINAPI httprequest_Safety_AddRef(IObjectSafety *iface)
|
||||
{
|
||||
httprequest *This = impl_from_IObjectSafety(iface);
|
||||
return IXMLHTTPRequest_AddRef((IXMLHTTPRequest *)This);
|
||||
return IXMLHTTPRequest_AddRef(&This->IXMLHTTPRequest_iface);
|
||||
}
|
||||
|
||||
static ULONG WINAPI httprequest_Safety_Release(IObjectSafety *iface)
|
||||
{
|
||||
httprequest *This = impl_from_IObjectSafety(iface);
|
||||
return IXMLHTTPRequest_Release((IXMLHTTPRequest *)This);
|
||||
return IXMLHTTPRequest_Release(&This->IXMLHTTPRequest_iface);
|
||||
}
|
||||
|
||||
static HRESULT WINAPI httprequest_Safety_GetInterfaceSafetyOptions(IObjectSafety *iface, REFIID riid,
|
||||
|
|
Loading…
Reference in New Issue