ole32: The advise sink for the data cache should be primed with the passed in aspects value, not an arbitrarily selected value.

This commit is contained in:
Rob Shearman 2006-12-01 15:02:40 +00:00 committed by Alexandre Julliard
parent 46f70207b2
commit 4b7e8e73a4

View File

@ -1503,9 +1503,7 @@ static HRESULT WINAPI DataCache_SetAdvise(
*/
if (advf & ADVF_PRIMEFIRST)
{
DataCache_FireOnViewChange(this,
DVASPECT_CONTENT,
-1);
DataCache_FireOnViewChange(this, aspects, -1);
}
return S_OK;