From 71b809959bb8f775d83dc52628448bb8b8322b28 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 14 Apr 2015 12:44:47 +0200 Subject: 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 --- sd/source/ui/remotecontrol/Listener.cxx | 12 ++++++------ sd/source/ui/remotecontrol/Listener.hxx | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'sd/source/ui/remotecontrol') diff --git a/sd/source/ui/remotecontrol/Listener.cxx b/sd/source/ui/remotecontrol/Listener.cxx index 2bc86be2f671..f166609f1a90 100644 --- a/sd/source/ui/remotecontrol/Listener.cxx +++ b/sd/source/ui/remotecontrol/Listener.cxx @@ -85,12 +85,12 @@ void SAL_CALL Listener::repeat( const css::uno::Reference< //----- XSlideShowListener ---------------------------------------------------- -void SAL_CALL Listener::paused (void) +void SAL_CALL Listener::paused() throw (com::sun::star::uno::RuntimeException, std::exception) { } -void SAL_CALL Listener::resumed (void) +void SAL_CALL Listener::resumed() throw (css::uno::RuntimeException, std::exception) { } @@ -106,7 +106,7 @@ void SAL_CALL Listener::hyperLinkClicked (const OUString &) { } -void SAL_CALL Listener::slideTransitionStarted (void) +void SAL_CALL Listener::slideTransitionStarted() throw (css::uno::RuntimeException, std::exception) { sal_Int32 aSlide = mController->getCurrentSlideIndex(); @@ -122,17 +122,17 @@ void SAL_CALL Listener::slideTransitionStarted (void) } } -void SAL_CALL Listener::slideTransitionEnded (void) +void SAL_CALL Listener::slideTransitionEnded() throw (css::uno::RuntimeException, std::exception) { } -void SAL_CALL Listener::slideAnimationsEnded (void) +void SAL_CALL Listener::slideAnimationsEnded() throw (css::uno::RuntimeException, std::exception) { } -void SAL_CALL Listener::disposing (void) +void SAL_CALL Listener::disposing() { pTransmitter = NULL; if ( mController.is() ) diff --git a/sd/source/ui/remotecontrol/Listener.hxx b/sd/source/ui/remotecontrol/Listener.hxx index 5bcc02d11422..bb89477615d1 100644 --- a/sd/source/ui/remotecontrol/Listener.hxx +++ b/sd/source/ui/remotecontrol/Listener.hxx @@ -55,7 +55,7 @@ public: throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XEventListener - virtual void SAL_CALL disposing (void) SAL_OVERRIDE; + virtual void SAL_CALL disposing() SAL_OVERRIDE; virtual void SAL_CALL disposing ( const com::sun::star::lang::EventObject& rEvent) throw (com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; -- cgit