summaryrefslogtreecommitdiff
path: root/embedserv/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-14 12:44:47 +0200
committerNoel Grandin <noel@peralex.com>2015-04-15 11:47:12 +0200
commit71b809959bb8f775d83dc52628448bb8b8322b28 (patch)
treef9aa4308050eb7d55611068602c0cf0e3c1b3690 /embedserv/source/inc
parent135907f2061550624ee1859745d94eee01849070 (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 'embedserv/source/inc')
-rw-r--r--embedserv/source/inc/docholder.hxx10
-rw-r--r--embedserv/source/inc/iipaobj.hxx4
-rw-r--r--embedserv/source/inc/syswinwrapper.hxx10
3 files changed, 12 insertions, 12 deletions
diff --git a/embedserv/source/inc/docholder.hxx b/embedserv/source/inc/docholder.hxx
index 3e3928b8da81..4ab0468a2556 100644
--- a/embedserv/source/inc/docholder.hxx
+++ b/embedserv/source/inc/docholder.hxx
@@ -138,14 +138,14 @@ public:
BOOL isActive() const;
void DisableInplaceActivation(BOOL);
HRESULT InPlaceActivate(LPOLECLIENTSITE,BOOL);
- void InPlaceDeactivate(void);
+ void InPlaceDeactivate();
HRESULT UIActivate();
void UIDeactivate();
- BOOL InPlaceMenuCreate(void);
- BOOL InPlaceMenuDestroy(void);
+ BOOL InPlaceMenuCreate();
+ BOOL InPlaceMenuDestroy();
- void OpenIntoWindow(void);
- BOOL Undo(void);
+ void OpenIntoWindow();
+ BOOL Undo();
// further methods
diff --git a/embedserv/source/inc/iipaobj.hxx b/embedserv/source/inc/iipaobj.hxx
index 17e97acf8341..ba0e476c574d 100644
--- a/embedserv/source/inc/iipaobj.hxx
+++ b/embedserv/source/inc/iipaobj.hxx
@@ -42,8 +42,8 @@ public:
/* IUnknown methods */
STDMETHODIMP QueryInterface(REFIID, LPVOID FAR * ppvObj);
- STDMETHODIMP_(ULONG) AddRef(void);
- STDMETHODIMP_(ULONG) Release(void);
+ STDMETHODIMP_(ULONG) AddRef();
+ STDMETHODIMP_(ULONG) Release();
/* IOleInPlaceActiveObject methods */
STDMETHODIMP GetWindow(HWND *);
diff --git a/embedserv/source/inc/syswinwrapper.hxx b/embedserv/source/inc/syswinwrapper.hxx
index bde2efce0bf0..422dff9c3a4a 100644
--- a/embedserv/source/inc/syswinwrapper.hxx
+++ b/embedserv/source/inc/syswinwrapper.hxx
@@ -52,11 +52,11 @@ namespace winwrap {
public:
//Standard Class Functions
CWindow(HINSTANCE);
- ~CWindow(void);
+ ~CWindow();
//Just returns members. No need to modify
- HWND Window(void);
- HINSTANCE Instance(void);
+ HWND Window();
+ HINSTANCE Instance();
};
@@ -155,12 +155,12 @@ protected:
public:
CHatchWin(HINSTANCE,const DocumentHolder*);
- ~CHatchWin(void);
+ ~CHatchWin();
BOOL Init(HWND, UINT, HWND);
HWND HwndAssociateSet(HWND);
- HWND HwndAssociateGet(void);
+ HWND HwndAssociateGet();
void RectsSet(LPRECT, LPRECT);
void ChildSet(HWND);