Commit 94d753c6 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

ole32: Query the object's dirty state if it's running.

parent 3a0ed83f
...@@ -1516,9 +1516,18 @@ static HRESULT WINAPI DefaultHandler_IPersistStorage_GetClassID( ...@@ -1516,9 +1516,18 @@ static HRESULT WINAPI DefaultHandler_IPersistStorage_GetClassID(
static HRESULT WINAPI DefaultHandler_IPersistStorage_IsDirty( static HRESULT WINAPI DefaultHandler_IPersistStorage_IsDirty(
IPersistStorage* iface) IPersistStorage* iface)
{ {
DefaultHandler *This = impl_from_IPersistStorage(iface); DefaultHandler *This = impl_from_IPersistStorage(iface);
HRESULT hr;
TRACE("(%p)\n", iface);
hr = IPersistStorage_IsDirty(This->dataCache_PersistStg);
if(hr != S_FALSE) return hr;
return IPersistStorage_IsDirty(This->dataCache_PersistStg); if(object_is_running(This))
hr = IPersistStorage_IsDirty(This->pPSDelegate);
return hr;
} }
/************************************************************************ /************************************************************************
......
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