Commit 9e9d3b22 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

msxml3: Use interface instead of implementation pointer to forward…

msxml3: Use interface instead of implementation pointer to forward IEnumVARIANT::AddRef and IEnumVARIANT::Release for IXMLElementCollection.
parent 9ab9aebf
...@@ -738,14 +738,14 @@ static ULONG WINAPI xmlelem_collection_IEnumVARIANT_AddRef( ...@@ -738,14 +738,14 @@ static ULONG WINAPI xmlelem_collection_IEnumVARIANT_AddRef(
IEnumVARIANT *iface) IEnumVARIANT *iface)
{ {
xmlelem_collection *this = impl_from_IEnumVARIANT(iface); xmlelem_collection *this = impl_from_IEnumVARIANT(iface);
return IXMLDocument_AddRef((IXMLDocument *)this); return IXMLElementCollection_AddRef(&this->IXMLElementCollection_iface);
} }
static ULONG WINAPI xmlelem_collection_IEnumVARIANT_Release( static ULONG WINAPI xmlelem_collection_IEnumVARIANT_Release(
IEnumVARIANT *iface) IEnumVARIANT *iface)
{ {
xmlelem_collection *this = impl_from_IEnumVARIANT(iface); xmlelem_collection *this = impl_from_IEnumVARIANT(iface);
return IXMLDocument_Release((IXMLDocument *)this); return IXMLElementCollection_Release(&this->IXMLElementCollection_iface);
} }
static HRESULT WINAPI xmlelem_collection_IEnumVARIANT_Next( static HRESULT WINAPI xmlelem_collection_IEnumVARIANT_Next(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment