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

This commit is contained in:
Huw Davies 2008-10-20 14:51:39 +01:00 committed by Alexandre Julliard
parent 5ba96d7ae1
commit ed28886f9d
1 changed files with 6 additions and 2 deletions

View File

@ -642,9 +642,13 @@ static HRESULT WINAPI DefaultHandler_Update(
static HRESULT WINAPI DefaultHandler_IsUpToDate(
IOleObject* iface)
{
TRACE("(%p)\n", iface);
DefaultHandler *This = impl_from_IOleObject(iface);
TRACE("(%p)\n", iface);
return OLE_E_NOTRUNNING;
if (object_is_running(This))
return IOleObject_IsUpToDate(This->pOleDelegate);
return OLE_E_NOTRUNNING;
}
/************************************************************************