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 /include/svl | |
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 'include/svl')
-rw-r--r-- | include/svl/ctloptions.hxx | 2 | ||||
-rw-r--r-- | include/svl/inethist.hxx | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/svl/ctloptions.hxx b/include/svl/ctloptions.hxx index d20a4f6cf4c5..0cc0e5b8141a 100644 --- a/include/svl/ctloptions.hxx +++ b/include/svl/ctloptions.hxx @@ -45,7 +45,7 @@ public: bool IsCTLSequenceChecking() const; void SetCTLSequenceCheckingRestricted( bool _bEnable ); - bool IsCTLSequenceCheckingRestricted( void ) const; + bool IsCTLSequenceCheckingRestricted() const; void SetCTLSequenceCheckingTypeAndReplace( bool _bEnable ); bool IsCTLSequenceCheckingTypeAndReplace() const; diff --git a/include/svl/inethist.hxx b/include/svl/inethist.hxx index 0cd3801c5985..b54f8dc426ff 100644 --- a/include/svl/inethist.hxx +++ b/include/svl/inethist.hxx @@ -39,8 +39,8 @@ class SVL_DLLPUBLIC INetURLHistory : public SfxBroadcaster /** Construction/Destruction. */ - SAL_DLLPRIVATE INetURLHistory (void); - SAL_DLLPRIVATE virtual ~INetURLHistory (void); + SAL_DLLPRIVATE INetURLHistory(); + SAL_DLLPRIVATE virtual ~INetURLHistory(); /** Implementation. */ @@ -57,7 +57,7 @@ class SVL_DLLPUBLIC INetURLHistory : public SfxBroadcaster public: /** GetOrCreate. */ - static INetURLHistory* GetOrCreate (void); + static INetURLHistory* GetOrCreate(); /** QueryProtocol. */ |