oleaut32: Don't fall back on typelib name for docstring.

This commit is contained in:
Andrew Eikum 2013-06-05 07:56:23 -05:00 committed by Alexandre Julliard
parent c9dbef3d96
commit cee0a726ed
1 changed files with 0 additions and 5 deletions

View File

@ -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;
} }