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

Alexandre Julliard julliard at winehq.org
Wed Jun 5 13:47:02 CDT 2013


Module: wine
Branch: master
Commit: cee0a726ed05b194ed4bf18e0b7a96bf4da1a018
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=cee0a726ed05b194ed4bf18e0b7a96bf4da1a018

Author: Andrew Eikum <aeikum at codeweavers.com>
Date:   Wed Jun  5 07:56:23 2013 -0500

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

---

 dlls/oleaut32/typelib.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index bb3be43..af36a3b 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;
         }




More information about the wine-cvs mailing list