[SHELL32]
authorThomas Faber <thomas.faber@reactos.org>
Thu, 4 Oct 2012 23:46:59 +0000 (23:46 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Thu, 4 Oct 2012 23:46:59 +0000 (23:46 +0000)
- Fix what might finally be the last missing "this->" instances left over from the C++ conversion (used a regex this time)

svn path=/trunk/; revision=57485

reactos/dll/win32/shell32/folders/cpanel.cpp
reactos/dll/win32/shell32/folders/mycomp.cpp
reactos/dll/win32/shell32/shlview.cpp

index 367c5ac..12c9815 100644 (file)
@@ -540,7 +540,7 @@ HRESULT WINAPI CControlPanelFolder::GetUIObjectOf(HWND hwndOwner,
             //
             pObj = (IContextMenu *)this;
             this->apidl = apidl;
             //
             pObj = (IContextMenu *)this;
             this->apidl = apidl;
-            cidl = cidl;
+            this->cidl = cidl;
             pObj->AddRef();
             hr = S_OK;
         } else if (IsEqualIID(riid, IID_IDataObject) && (cidl >= 1)) {
             pObj->AddRef();
             hr = S_OK;
         } else if (IsEqualIID(riid, IID_IDataObject) && (cidl >= 1)) {
index 0dbd047..46fc206 100644 (file)
@@ -728,7 +728,7 @@ HRESULT WINAPI CDrivesFolder::SetNameOf(HWND hwndOwner, LPCITEMIDLIST pidl,
 
     wcscpy(sName, lpName);
     SHFree(sName);
 
     wcscpy(sName, lpName);
     SHFree(sName);
-    sName = sName;
+    this->sName = sName;
     TRACE("result %s\n", debugstr_w(sName));
     return S_OK;
 }
     TRACE("result %s\n", debugstr_w(sName));
     return S_OK;
 }
index 7f0aec4..707f2b8 100644 (file)
@@ -2828,7 +2828,7 @@ HRESULT WINAPI CDefView::SetAdvise(DWORD aspects, DWORD advf, IAdviseSink *pAdvS
     FIXME("partial stub: %p %08x %08x %p\n", this, aspects, advf, pAdvSink);
 
     /* FIXME: we set the AdviseSink, but never use it to send any advice */
     FIXME("partial stub: %p %08x %08x %p\n", this, aspects, advf, pAdvSink);
 
     /* FIXME: we set the AdviseSink, but never use it to send any advice */
-    pAdvSink = pAdvSink;
+    this->pAdvSink = pAdvSink;
     dwAspects = aspects;
     dwAdvf = advf;
 
     dwAspects = aspects;
     dwAdvf = advf;