oleaut32: Don't fall back on typelib name for docstring.
This commit is contained in:
parent
c9dbef3d96
commit
cee0a726ed
|
@ -4838,11 +4838,6 @@ static HRESULT WINAPI ITypeLib2_fnGetDocumentation(
|
||||||
if(!(*pBstrDocString = SysAllocString(TLB_get_bstr(This->DocString))))
|
if(!(*pBstrDocString = SysAllocString(TLB_get_bstr(This->DocString))))
|
||||||
goto memerr2;
|
goto memerr2;
|
||||||
}
|
}
|
||||||
else if (This->Name)
|
|
||||||
{
|
|
||||||
if(!(*pBstrDocString = SysAllocString(TLB_get_bstr(This->Name))))
|
|
||||||
goto memerr2;
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
*pBstrDocString = NULL;
|
*pBstrDocString = NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue