[EXPLORER]
authorDavid Quintana <gigaherz@gmail.com>
Mon, 24 Jul 2017 10:40:55 +0000 (10:40 +0000)
committerDavid Quintana <gigaherz@gmail.com>
Mon, 24 Jul 2017 10:40:55 +0000 (10:40 +0000)
[RSHELL]
[NTOBJSHEX]
[BROWSEUI]
[SHELL32]
Get rid of the unused "placement new" operators.

svn path=/trunk/; revision=75394

reactos/base/shell/explorer/explorer.cpp
reactos/base/shell/rshell/misc.cpp
reactos/dll/shellext/ntobjshex/ntobjshex.cpp
reactos/dll/shellext/stobject/stobject.cpp
reactos/dll/win32/browseui/browseui.cpp
reactos/dll/win32/shell32/shell32.cpp

index cdcdb1c..e803c4d 100644 (file)
@@ -36,11 +36,6 @@ END_OBJECT_MAP()
 CExplorerModule                             gModule;
 CAtlWinModule                               gWinModule;
 
 CExplorerModule                             gModule;
 CAtlWinModule                               gWinModule;
 
-void *operator new (size_t, void *buf)
-{
-    return buf;
-}
-
 static VOID InitializeAtlModule(HINSTANCE hInstance, BOOL bInitialize)
 {
     if (bInitialize)
 static VOID InitializeAtlModule(HINSTANCE hInstance, BOOL bInitialize)
 {
     if (bInitialize)
index ee5b5a2..d984555 100644 (file)
@@ -69,11 +69,6 @@ DWORD WINAPI WinList_Init(void)
     return 0;
 }
 
     return 0;
 }
 
-void *operator new (size_t, void *buf)
-{
-    return buf;
-}
-
 class CRShellModule : public CComModule
 {
 public:
 class CRShellModule : public CComModule
 {
 public:
index 5717422..a3f2ab2 100644 (file)
@@ -18,11 +18,6 @@ END_OBJECT_MAP()
 HINSTANCE  g_hInstance;
 CComModule g_Module;
 
 HINSTANCE  g_hInstance;
 CComModule g_Module;
 
-void *operator new (size_t, void *buf)
-{
-    return buf;
-}
-
 STDAPI_(BOOL)
 DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
 {
 STDAPI_(BOOL)
 DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
 {
index ed832f9..fc866f3 100644 (file)
@@ -21,11 +21,6 @@ END_OBJECT_MAP()
 HINSTANCE  g_hInstance;
 CComModule g_Module;
 
 HINSTANCE  g_hInstance;
 CComModule g_Module;
 
-void *operator new (size_t, void *buf)
-{
-    return buf;
-}
-
 STDAPI_(BOOL)
 DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
 {
 STDAPI_(BOOL)
 DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID fImpLoad)
 {
index 35ab36f..9de196c 100644 (file)
@@ -147,11 +147,6 @@ END_OBJECT_MAP()
 CBrowseUIModule                             gModule;
 CAtlWinModule                               gWinModule;
 
 CBrowseUIModule                             gModule;
 CAtlWinModule                               gWinModule;
 
-void *operator new (size_t, void *buf)
-{
-    return buf;
-}
-
 /*************************************************************************
  * BROWSEUI DllMain
  */
 /*************************************************************************
  * BROWSEUI DllMain
  */
index e3acf73..12c5a1e 100644 (file)
@@ -313,11 +313,6 @@ STDAPI DllGetVersion(DLLVERSIONINFO *pdvi)
  */
 HINSTANCE    shell32_hInstance;
 
  */
 HINSTANCE    shell32_hInstance;
 
-void *operator new (size_t, void *buf)
-{
-    return buf;
-}
-
 /*************************************************************************
  * SHELL32 DllMain
  *
 /*************************************************************************
  * SHELL32 DllMain
  *