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