From cee0a726ed05b194ed4bf18e0b7a96bf4da1a018 Mon Sep 17 00:00:00 2001 From: Andrew Eikum Date: Wed, 5 Jun 2013 07:56:23 -0500 Subject: [PATCH] oleaut32: Don't fall back on typelib name for docstring. --- dlls/oleaut32/typelib.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c index bb3be43e03f..af36a3ba6ab 100644 --- a/dlls/oleaut32/typelib.c +++ b/dlls/oleaut32/typelib.c @@ -4838,11 +4838,6 @@ static HRESULT WINAPI ITypeLib2_fnGetDocumentation( if(!(*pBstrDocString = SysAllocString(TLB_get_bstr(This->DocString)))) goto memerr2; } - else if (This->Name) - { - if(!(*pBstrDocString = SysAllocString(TLB_get_bstr(This->Name)))) - goto memerr2; - } else *pBstrDocString = NULL; }