Commit a1d9fa11 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msxml3: Use common helper for IXMLDOMText_get_nodeValue().

parent 5afb829f
...@@ -171,12 +171,7 @@ static HRESULT WINAPI domtext_get_nodeValue( ...@@ -171,12 +171,7 @@ static HRESULT WINAPI domtext_get_nodeValue(
TRACE("(%p)->(%p)\n", This, value); TRACE("(%p)->(%p)\n", This, value);
if(!value) return node_get_content(&This->node, value);
return E_INVALIDARG;
V_VT(value) = VT_BSTR;
V_BSTR(value) = bstr_from_xmlChar(This->node.node->content);
return S_OK;
} }
static HRESULT WINAPI domtext_put_nodeValue( static HRESULT WINAPI domtext_put_nodeValue(
......
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