msxml3: Remove attach_xmldoc(This, NULL) calls.

This->node should never be zero. Each IXMLDOMNode (and derived interfaces)
always represents a present libxml data object. There is no no-data
IXMLDOMNode, although there might be documents without a root element.
This commit is contained in:
Michael Karcher 2008-11-29 10:52:16 +01:00 committed by Alexandre Julliard
parent 1c49bc83ae
commit 8b293040a3
1 changed files with 0 additions and 4 deletions

View File

@ -1364,8 +1364,6 @@ static HRESULT WINAPI domdoc_load(
assert( This->node );
attach_xmldoc(This->node, NULL);
switch( V_VT(&xmlSource) )
{
case VT_BSTR:
@ -1549,8 +1547,6 @@ static HRESULT WINAPI domdoc_loadXML(
assert ( This->node );
attach_xmldoc( This->node, NULL );
if ( isSuccessful )
{
*isSuccessful = VARIANT_FALSE;