Nikolay Sivov : msxml3: Avoid direct vtable members internal usage.
Module: wine Branch: master Commit: 7a38ecb0d6eee6752d1e638bfe1ccf95ee1f7d25 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7a38ecb0d6eee6752d1e638bfe... Author: Nikolay Sivov <bunglehead(a)gmail.com> Date: Fri Feb 19 14:45:48 2010 +0300 msxml3: Avoid direct vtable members internal usage. --- dlls/msxml3/node.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/dlls/msxml3/node.c b/dlls/msxml3/node.c index b981bcc..ac97681 100644 --- a/dlls/msxml3/node.c +++ b/dlls/msxml3/node.c @@ -947,8 +947,6 @@ static HRESULT WINAPI xmlnode_get_definition( return E_NOTIMPL; } -static HRESULT WINAPI xmlnode_get_dataType(IXMLDOMNode*, VARIANT*); - static inline BYTE hex_to_byte(xmlChar c) { if(c <= '9') return c-'0'; @@ -1149,10 +1147,10 @@ static HRESULT WINAPI xmlnode_get_nodeTypedValue( if(This->node->type == XML_ELEMENT_NODE || This->node->type == XML_TEXT_NODE || This->node->type == XML_ENTITY_REF_NODE) - hres = xmlnode_get_dataType(iface, &type); + hres = IXMLDOMNode_get_dataType(iface, &type); if(hres != S_OK && This->node->type != XML_ELEMENT_NODE) - return xmlnode_get_nodeValue(iface, typedValue); + return IXMLDOMNode_get_nodeValue(iface, typedValue); content = xmlNodeGetContent(This->node); hres = VARIANT_from_xmlChar(content, typedValue,
participants (1)
-
Alexandre Julliard