Module: wine Branch: master Commit: a1d9fa11d345036ecd9f2381b00f40e2f5280d23 URL: http://source.winehq.org/git/wine.git/?a=commit;h=a1d9fa11d345036ecd9f2381b0...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Sun Nov 27 20:24:52 2011 +0300
msxml3: Use common helper for IXMLDOMText_get_nodeValue().
---
dlls/msxml3/text.c | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/dlls/msxml3/text.c b/dlls/msxml3/text.c index 6540773..abf11b3 100644 --- a/dlls/msxml3/text.c +++ b/dlls/msxml3/text.c @@ -171,12 +171,7 @@ static HRESULT WINAPI domtext_get_nodeValue(
TRACE("(%p)->(%p)\n", This, value);
- if(!value) - return E_INVALIDARG; - - V_VT(value) = VT_BSTR; - V_BSTR(value) = bstr_from_xmlChar(This->node.node->content); - return S_OK; + return node_get_content(&This->node, value); }
static HRESULT WINAPI domtext_put_nodeValue(