mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
msxml3: Use IXMLDOMDocument3 as a latest interface version.
This commit is contained in:
parent
ae6ef45811
commit
01ed475c7c
1 changed files with 4 additions and 4 deletions
|
@ -432,17 +432,17 @@ static HRESULT WINAPI domattr_get_nodeTypedValue(
|
|||
hr = IXMLDOMAttribute_get_ownerDocument(iface, &doc);
|
||||
if (hr == S_OK)
|
||||
{
|
||||
IXMLDOMDocument2 *doc2;
|
||||
IXMLDOMDocument3 *doc3;
|
||||
|
||||
hr = IXMLDOMDocument_QueryInterface(doc, &IID_IXMLDOMDocument2, (void**)&doc2);
|
||||
hr = IXMLDOMDocument_QueryInterface(doc, &IID_IXMLDOMDocument3, (void**)&doc3);
|
||||
IXMLDOMDocument_Release(doc);
|
||||
|
||||
if (hr == S_OK)
|
||||
{
|
||||
VARIANT schemas;
|
||||
|
||||
hr = IXMLDOMDocument2_get_schemas(doc2, &schemas);
|
||||
IXMLDOMDocument2_Release(doc2);
|
||||
hr = IXMLDOMDocument3_get_schemas(doc3, &schemas);
|
||||
IXMLDOMDocument3_Release(doc3);
|
||||
|
||||
if (hr != S_OK)
|
||||
return IXMLDOMAttribute_get_value(iface, value);
|
||||
|
|
Loading…
Reference in a new issue