msxml3: Remove unneeded code.
authorMichael Karcher <wine@mkarcher.dialup.fu-berlin.de>
Sat, 11 Oct 2008 21:59:05 +0000 (23:59 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 13 Oct 2008 09:52:50 +0000 (11:52 +0200)
xmlNewDocFragment has already set xmlNode->doc, no need to do
that again.

dlls/msxml3/domdoc.c

index 41cd8561b148b40854590b7bd7808c9bd4efdde9..c9446236a40fbdb26a42ee1a04f6d3bd02a980cf 100644 (file)
@@ -890,8 +890,6 @@ static HRESULT WINAPI domdoc_createDocumentFragment(
     if(!xmlnode)
         return E_FAIL;
 
-    xmlnode->doc = get_doc( This );
-
     *docFrag = (IXMLDOMDocumentFragment*)create_doc_fragment(xmlnode);
 
     return S_OK;