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 /sdext/source/presenter/PresenterHelpView.hxx | |
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 'sdext/source/presenter/PresenterHelpView.hxx')
-rw-r--r-- | sdext/source/presenter/PresenterHelpView.hxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sdext/source/presenter/PresenterHelpView.hxx b/sdext/source/presenter/PresenterHelpView.hxx index 1b4e4887d1d1..7792d79389b9 100644 --- a/sdext/source/presenter/PresenterHelpView.hxx +++ b/sdext/source/presenter/PresenterHelpView.hxx @@ -55,9 +55,9 @@ public: const css::uno::Reference<css::drawing::framework::XResourceId>& rxViewId, const css::uno::Reference<css::frame::XController>& rxController, const ::rtl::Reference<PresenterController>& rpPresenterController); - virtual ~PresenterHelpView (void); + virtual ~PresenterHelpView(); - virtual void SAL_CALL disposing (void) SAL_OVERRIDE; + virtual void SAL_CALL disposing() SAL_OVERRIDE; // lang::XEventListener @@ -86,10 +86,10 @@ public: // XResourceId - virtual css::uno::Reference<css::drawing::framework::XResourceId> SAL_CALL getResourceId (void) + virtual css::uno::Reference<css::drawing::framework::XResourceId> SAL_CALL getResourceId() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual sal_Bool SAL_CALL isAnchorOnly (void) + virtual sal_Bool SAL_CALL isAnchorOnly() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; private: @@ -107,22 +107,22 @@ private: sal_Int32 mnSeparatorY; sal_Int32 mnMaximalWidth; - void ProvideCanvas (void); - void Resize (void); + void ProvideCanvas(); + void Resize(); void Paint (const css::awt::Rectangle& rRedrawArea); - void ReadHelpStrings (void); + void ReadHelpStrings(); void ProcessString ( const css::uno::Reference<css::beans::XPropertySet>& rsProperties); /** Find a font size, so that all text can be displayed at the same time. */ - void CheckFontSize (void); + void CheckFontSize(); /** This method throws a DisposedException when the object has already been disposed. */ - void ThrowIfDisposed (void) + void ThrowIfDisposed() throw (css::lang::DisposedException); }; |