summaryrefslogtreecommitdiff
path: root/sd/source/ui/remotecontrol
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 /sd/source/ui/remotecontrol
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 'sd/source/ui/remotecontrol')
-rw-r--r--sd/source/ui/remotecontrol/Listener.cxx12
-rw-r--r--sd/source/ui/remotecontrol/Listener.hxx2
2 files changed, 7 insertions, 7 deletions
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;