Avoid direct vtable members internal usage
Nikolay Sivov
bunglehead at gmail.com
Fri Feb 19 05:45:48 CST 2010
---
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,
--
1.5.6.5
--=-OqotosEuWJzmdaXxhAMJ--
More information about the wine-patches
mailing list