ole32: DefaultHandler_GetData and DefaultHandler_QueryGetData should

both defer to the real data object if the cached versions fail and we
are running.
This commit is contained in:
Robert Shearman 2006-08-31 17:20:02 +01:00 committed by Alexandre Julliard
parent 6bf6caa69d
commit 53d01d2764

View file

@ -972,6 +972,9 @@ static HRESULT WINAPI DefaultHandler_GetData(
IDataObject_Release(cacheDataObject);
if (FAILED(hres) && This->pDataDelegate)
hres = IDataObject_GetData(This->pDataDelegate, pformatetcIn, pmedium);
return hres;
}
@ -1015,6 +1018,9 @@ static HRESULT WINAPI DefaultHandler_QueryGetData(
IDataObject_Release(cacheDataObject);
if (FAILED(hres) && This->pDataDelegate)
hres = IDataObject_QueryGetData(This->pDataDelegate, pformatetc);
return hres;
}