[4/5] msxml3: Use interface instead of implementation pointer to forward IEnumVARIANT::AddRef and IEnumVARIANT::Release for IXMLElementCollection. Resend.
Dmitry Timoshkov
dmitry at baikal.ru
Fri Jan 31 00:18:42 CST 2014
---
dlls/msxml3/xmlelem.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msxml3/xmlelem.c b/dlls/msxml3/xmlelem.c
index f188ca1..52eef62 100644
--- a/dlls/msxml3/xmlelem.c
+++ b/dlls/msxml3/xmlelem.c
@@ -738,14 +738,14 @@ static ULONG WINAPI xmlelem_collection_IEnumVARIANT_AddRef(
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(
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(
--
1.8.5.3
More information about the wine-patches
mailing list