Commit 012806a0 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

msxml3: Try IStream if IPersistStream save failed.

parent cb2d4027
...@@ -2377,9 +2377,10 @@ static HRESULT internal_parse( ...@@ -2377,9 +2377,10 @@ static HRESULT internal_parse(
if(hr != S_OK) if(hr != S_OK)
{ {
IStream_Release(stream); IStream_Release(stream);
break; stream = NULL;
} }
} }
if(stream || IUnknown_QueryInterface(V_UNKNOWN(&varInput), if(stream || IUnknown_QueryInterface(V_UNKNOWN(&varInput),
&IID_IStream, (void**)&stream) == S_OK) &IID_IStream, (void**)&stream) == S_OK)
{ {
......
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