Commit 53d01d27 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

ole32: DefaultHandler_GetData and DefaultHandler_QueryGetData should

both defer to the real data object if the cached versions fail and we are running.
parent 6bf6caa6
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment