mscoree: Use the proper COM method wrappers.

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2016-09-08 21:24:48 +02:00 committed by Alexandre Julliard
parent 4bfefc5c71
commit 478f3dd67b
1 changed files with 2 additions and 2 deletions

View File

@ -396,13 +396,13 @@ static HRESULT WINAPI ConfigFileHandler_Error_QueryInterface(ISAXErrorHandler *i
static ULONG WINAPI ConfigFileHandler_Error_AddRef(ISAXErrorHandler *iface) static ULONG WINAPI ConfigFileHandler_Error_AddRef(ISAXErrorHandler *iface)
{ {
ConfigFileHandler *This = impl_from_ISAXErrorHandler(iface); ConfigFileHandler *This = impl_from_ISAXErrorHandler(iface);
return IUnknown_AddRef((IUnknown*)This); return ISAXContentHandler_AddRef(&This->ISAXContentHandler_iface);
} }
static ULONG WINAPI ConfigFileHandler_Error_Release(ISAXErrorHandler *iface) static ULONG WINAPI ConfigFileHandler_Error_Release(ISAXErrorHandler *iface)
{ {
ConfigFileHandler *This = impl_from_ISAXErrorHandler(iface); ConfigFileHandler *This = impl_from_ISAXErrorHandler(iface);
return IUnknown_Release((IUnknown*)This); return ISAXContentHandler_Release(&This->ISAXContentHandler_iface);
} }
static HRESULT WINAPI ConfigFileHandler_error(ISAXErrorHandler *iface, static HRESULT WINAPI ConfigFileHandler_error(ISAXErrorHandler *iface,