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 /slideshow/source/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 'slideshow/source/inc')
-rw-r--r-- | slideshow/source/inc/event.hxx | 2 | ||||
-rw-r--r-- | slideshow/source/inc/screenupdater.hxx | 6 | ||||
-rw-r--r-- | slideshow/source/inc/unoview.hxx | 2 | ||||
-rw-r--r-- | slideshow/source/inc/usereventqueue.hxx | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/slideshow/source/inc/event.hxx b/slideshow/source/inc/event.hxx index fad06458370d..60e9727a3874 100644 --- a/slideshow/source/inc/event.hxx +++ b/slideshow/source/inc/event.hxx @@ -64,7 +64,7 @@ public: */ virtual double getActivationTime( double nCurrentTime ) const = 0; - const OUString& GetDescription (void) const { return msDescription; } + const OUString& GetDescription() const { return msDescription; } private: const OUString msDescription; diff --git a/slideshow/source/inc/screenupdater.hxx b/slideshow/source/inc/screenupdater.hxx index 183d031f3235..ade40964a3ca 100644 --- a/slideshow/source/inc/screenupdater.hxx +++ b/slideshow/source/inc/screenupdater.hxx @@ -102,7 +102,7 @@ namespace slideshow class UpdateLock { public: - virtual void Activate (void) = 0; + virtual void Activate() = 0; protected: ~UpdateLock() {} @@ -119,12 +119,12 @@ namespace slideshow /** Lock updates to prevent intermediate repaints. */ - void lockUpdates (void); + void lockUpdates(); /** When called as often as lockUpdates() then commitUpdates() is called. */ - void unlockUpdates (void); + void unlockUpdates(); private: struct ImplScreenUpdater; diff --git a/slideshow/source/inc/unoview.hxx b/slideshow/source/inc/unoview.hxx index 0a96cd2580ab..81ad021dcdad 100644 --- a/slideshow/source/inc/unoview.hxx +++ b/slideshow/source/inc/unoview.hxx @@ -60,7 +60,7 @@ namespace slideshow /** Return whether the sound play back is enabled. */ - virtual bool isSoundEnabled (void) const = 0; + virtual bool isSoundEnabled() const = 0; /** Tell the view whether it may play sounds. Disabling this can be used to prevent different views to play the same diff --git a/slideshow/source/inc/usereventqueue.hxx b/slideshow/source/inc/usereventqueue.hxx index a09c962ef2d3..61dbab91a710 100644 --- a/slideshow/source/inc/usereventqueue.hxx +++ b/slideshow/source/inc/usereventqueue.hxx @@ -222,7 +222,7 @@ public: or key presses that trigger the next effect. This method allows the skipping of effects to be triggered programatically. */ - void callSkipEffectEventHandler (void); + void callSkipEffectEventHandler(); private: /** Generically register an event on one of the handlers. |