mshtml: Forward all IsDirty implementations to one function.

This commit is contained in:
Jacek Caban 2007-06-10 11:35:55 +02:00 committed by Alexandre Julliard
parent 791b868ce7
commit bf7a479042
1 changed files with 8 additions and 4 deletions

View File

@ -332,8 +332,10 @@ static HRESULT WINAPI PersistMoniker_GetClassID(IPersistMoniker *iface, CLSID *p
static HRESULT WINAPI PersistMoniker_IsDirty(IPersistMoniker *iface)
{
HTMLDocument *This = PERSISTMON_THIS(iface);
FIXME("(%p)\n", This);
return E_NOTIMPL;
TRACE("(%p)\n", This);
return IPersistStreamInit_IsDirty(PERSTRINIT(This));
}
static HRESULT WINAPI PersistMoniker_Load(IPersistMoniker *iface, BOOL fFullyAvailable,
@ -467,8 +469,10 @@ static HRESULT WINAPI PersistFile_GetClassID(IPersistFile *iface, CLSID *pClassI
static HRESULT WINAPI PersistFile_IsDirty(IPersistFile *iface)
{
HTMLDocument *This = PERSISTFILE_THIS(iface);
FIXME("(%p)\n", This);
return E_NOTIMPL;
TRACE("(%p)\n", This);
return IPersistStreamInit_IsDirty(PERSTRINIT(This));
}
static HRESULT WINAPI PersistFile_Load(IPersistFile *iface, LPCOLESTR pszFileName, DWORD dwMode)