Commit ed28886f authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

ole32: Call the object's IOleObject_IsUpToData() if the object is running.

parent 5ba96d7a
...@@ -642,8 +642,12 @@ static HRESULT WINAPI DefaultHandler_Update( ...@@ -642,8 +642,12 @@ static HRESULT WINAPI DefaultHandler_Update(
static HRESULT WINAPI DefaultHandler_IsUpToDate( static HRESULT WINAPI DefaultHandler_IsUpToDate(
IOleObject* iface) IOleObject* iface)
{ {
DefaultHandler *This = impl_from_IOleObject(iface);
TRACE("(%p)\n", iface); TRACE("(%p)\n", iface);
if (object_is_running(This))
return IOleObject_IsUpToDate(This->pOleDelegate);
return OLE_E_NOTRUNNING; return OLE_E_NOTRUNNING;
} }
......
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