oleaut32: Do nothing for TKIND_ALIAS types in ::LayOut().

This commit is contained in:
Nikolay Sivov 2011-01-04 14:38:41 +03:00 committed by Alexandre Julliard
parent ea3c215b57
commit 0044cc8f26
1 changed files with 2 additions and 2 deletions

View File

@ -2623,10 +2623,10 @@ static HRESULT WINAPI ICreateTypeInfo2_fnLayOut(
unsigned user_vft = 0;
int i;
TRACE("(%p)\n", iface);
TRACE("(%p)\n", This);
/* FIXME: LayOut should be run on all ImplTypes */
if(This->typekind == TKIND_COCLASS)
if(This->typekind == TKIND_COCLASS || This->typekind == TKIND_ALIAS)
return S_OK;
/* Validate inheritance */