mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-05 17:19:33 +00:00
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:
parent
6bf6caa69d
commit
53d01d2764
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue