oleaut32: Don't complain when PICTDESC->cbSizeofstruct is 0.

This commit is contained in:
Mike McCormack 2006-08-14 14:07:05 +09:00 committed by Alexandre Julliard
parent 8dc5bd8e29
commit bcb3e28e2b
1 changed files with 0 additions and 4 deletions

View File

@ -308,12 +308,8 @@ static OLEPictureImpl* OLEPictureImpl_Construct(LPPICTDESC pictDesc, BOOL fOwn)
newObject->bIsDirty = FALSE;
if (pictDesc) {
if(pictDesc->cbSizeofstruct != sizeof(PICTDESC)) {
FIXME("struct size = %d\n", pictDesc->cbSizeofstruct);
}
memcpy(&newObject->desc, pictDesc, sizeof(PICTDESC));
switch(pictDesc->picType) {
case PICTYPE_BITMAP:
OLEPictureImpl_SetBitmap(newObject);