Jacek Caban : mshtml: Forward all IsDirty implementations to one function.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jun 11 08:46:35 CDT 2007


Module: wine
Branch: master
Commit: bf7a479042a13fa8528c194245751c53a17a5d58
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bf7a479042a13fa8528c194245751c53a17a5d58

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Sun Jun 10 11:35:55 2007 +0200

mshtml: Forward all IsDirty implementations to one function.

---

 dlls/mshtml/persist.c |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/dlls/mshtml/persist.c b/dlls/mshtml/persist.c
index 2cc80ec..8045241 100644
--- a/dlls/mshtml/persist.c
+++ b/dlls/mshtml/persist.c
@@ -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)




More information about the wine-cvs mailing list