diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-14 12:44:47 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-15 11:47:12 +0200 |
commit | 71b809959bb8f775d83dc52628448bb8b8322b28 (patch) | |
tree | f9aa4308050eb7d55611068602c0cf0e3c1b3690 /shell/inc | |
parent | 135907f2061550624ee1859745d94eee01849070 (diff) |
remove unnecessary use of void in function declarations
ie.
void f(void);
becomes
void f();
I used the following command to make the changes:
git grep -lP '\(\s*void\s*\)' -- *.cxx \
| xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;'
and ran it for both .cxx and .hxx files.
Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
Diffstat (limited to 'shell/inc')
-rw-r--r-- | shell/inc/internal/columninfo.hxx | 4 | ||||
-rw-r--r-- | shell/inc/internal/contentreader.hxx | 2 | ||||
-rw-r--r-- | shell/inc/internal/infotips.hxx | 6 | ||||
-rw-r--r-- | shell/inc/internal/propertyhdl.hxx | 8 | ||||
-rw-r--r-- | shell/inc/internal/propsheets.hxx | 4 | ||||
-rw-r--r-- | shell/inc/internal/thumbviewer.hxx | 4 |
6 files changed, 14 insertions, 14 deletions
diff --git a/shell/inc/internal/columninfo.hxx b/shell/inc/internal/columninfo.hxx index 68328777e1ac..8009e58f01cb 100644 --- a/shell/inc/internal/columninfo.hxx +++ b/shell/inc/internal/columninfo.hxx @@ -44,9 +44,9 @@ public: REFIID riid, void __RPC_FAR *__RPC_FAR *ppvObject); - virtual ULONG STDMETHODCALLTYPE AddRef( void); + virtual ULONG STDMETHODCALLTYPE AddRef(); - virtual ULONG STDMETHODCALLTYPE Release( void); + virtual ULONG STDMETHODCALLTYPE Release(); // IColumnProvider diff --git a/shell/inc/internal/contentreader.hxx b/shell/inc/internal/contentreader.hxx index a6a4e2e8a235..c64e868941d2 100644 --- a/shell/inc/internal/contentreader.hxx +++ b/shell/inc/internal/contentreader.hxx @@ -98,7 +98,7 @@ protected: @return style of the current content. */ - ::std::wstring getCurrentContentStyle( void ); + ::std::wstring getCurrentContentStyle(); /** add chunk into Chunk Buffer. */ diff --git a/shell/inc/internal/infotips.hxx b/shell/inc/internal/infotips.hxx index ec6615acace8..275be8e30ff3 100644 --- a/shell/inc/internal/infotips.hxx +++ b/shell/inc/internal/infotips.hxx @@ -45,9 +45,9 @@ public: REFIID riid, void __RPC_FAR *__RPC_FAR *ppvObject); - virtual ULONG STDMETHODCALLTYPE AddRef( void); + virtual ULONG STDMETHODCALLTYPE AddRef(); - virtual ULONG STDMETHODCALLTYPE Release( void); + virtual ULONG STDMETHODCALLTYPE Release(); // IQueryInfo methods @@ -67,7 +67,7 @@ public: // IPersistFile methods - virtual HRESULT STDMETHODCALLTYPE IsDirty(void); + virtual HRESULT STDMETHODCALLTYPE IsDirty(); virtual HRESULT STDMETHODCALLTYPE Load( /* [in] */ LPCOLESTR pszFileName, diff --git a/shell/inc/internal/propertyhdl.hxx b/shell/inc/internal/propertyhdl.hxx index e3ec5bf78ee2..0985b411ca69 100644 --- a/shell/inc/internal/propertyhdl.hxx +++ b/shell/inc/internal/propertyhdl.hxx @@ -49,8 +49,8 @@ public: virtual HRESULT STDMETHODCALLTYPE QueryInterface( REFIID riid, void __RPC_FAR *__RPC_FAR *ppvObject ); - virtual ULONG STDMETHODCALLTYPE AddRef( void ); - virtual ULONG STDMETHODCALLTYPE Release( void ); + virtual ULONG STDMETHODCALLTYPE AddRef(); + virtual ULONG STDMETHODCALLTYPE Release(); // IPropertyStore @@ -92,8 +92,8 @@ public: virtual HRESULT STDMETHODCALLTYPE QueryInterface( REFIID riid, void __RPC_FAR *__RPC_FAR *ppvObject); - virtual ULONG STDMETHODCALLTYPE AddRef( void ); - virtual ULONG STDMETHODCALLTYPE Release( void ); + virtual ULONG STDMETHODCALLTYPE AddRef(); + virtual ULONG STDMETHODCALLTYPE Release(); // IClassFactory methods diff --git a/shell/inc/internal/propsheets.hxx b/shell/inc/internal/propsheets.hxx index 16c887eb2429..6e134b8095dd 100644 --- a/shell/inc/internal/propsheets.hxx +++ b/shell/inc/internal/propsheets.hxx @@ -47,9 +47,9 @@ public: REFIID riid, void __RPC_FAR *__RPC_FAR *ppvObject); - virtual ULONG STDMETHODCALLTYPE AddRef( void); + virtual ULONG STDMETHODCALLTYPE AddRef(); - virtual ULONG STDMETHODCALLTYPE Release( void); + virtual ULONG STDMETHODCALLTYPE Release(); // IShellExtInit diff --git a/shell/inc/internal/thumbviewer.hxx b/shell/inc/internal/thumbviewer.hxx index 8a3bbed166af..0620476c2835 100644 --- a/shell/inc/internal/thumbviewer.hxx +++ b/shell/inc/internal/thumbviewer.hxx @@ -53,9 +53,9 @@ public: REFIID riid, void __RPC_FAR *__RPC_FAR *ppvObject); - virtual ULONG STDMETHODCALLTYPE AddRef( void); + virtual ULONG STDMETHODCALLTYPE AddRef(); - virtual ULONG STDMETHODCALLTYPE Release( void); + virtual ULONG STDMETHODCALLTYPE Release(); // IExtractImage methods |