[PATCH 3/5] oleaut32: Always search external references in GetRefTypeInfo

Andrew Eikum aeikum at codeweavers.com
Wed Jun 5 07:57:13 CDT 2013


---
Some older typelibs (SLTG) don't include the 0x1 flag to signal external
references.

I'm not convinced our SLTG loading is correct, but this will fix
existing bugs like 33699 anyway.

 dlls/oleaut32/typelib.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c
index 02875c3..69269f2 100644
--- a/dlls/oleaut32/typelib.c
+++ b/dlls/oleaut32/typelib.c
@@ -7441,8 +7441,6 @@ static HRESULT WINAPI ITypeInfo_fnGetRefTypeInfo(
                     goto end;
                 }
             }
-            result = TYPE_E_ELEMENTNOTFOUND;
-            goto end;
         }
 
         LIST_FOR_EACH_ENTRY(ref_type, &This->pTypeLib->ref_list, TLBRefType, entry)
-- 
1.8.3





More information about the wine-patches mailing list