objsel: Do not create an object from IClassFactory::QueryInterface().

This commit is contained in:
Zebediah Figura 2023-09-06 17:46:54 -05:00 committed by Alexandre Julliard
parent 2ac66e33fd
commit 512f8b17ae

View file

@ -189,10 +189,6 @@ static HRESULT WINAPI class_factory_QueryInterface(IClassFactory *iface, REFIID
IClassFactory_AddRef(iface);
return S_OK;
}
else if (IsEqualGUID(iid, &IID_IDsObjectPicker))
{
return IClassFactory_CreateInstance(iface, NULL, iid, out);
}
WARN("%s not implemented, returning E_NOINTERFACE.\n", debugstr_guid(iid));
return E_NOINTERFACE;