summaryrefslogtreecommitdiff
path: root/svx/source/form/formcontroller.cxx
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 /svx/source/form/formcontroller.cxx
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 'svx/source/form/formcontroller.cxx')
-rw-r--r--svx/source/form/formcontroller.cxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/svx/source/form/formcontroller.cxx b/svx/source/form/formcontroller.cxx
index 3497bd05de1e..04fddee8576e 100644
--- a/svx/source/form/formcontroller.cxx
+++ b/svx/source/form/formcontroller.cxx
@@ -668,7 +668,7 @@ OUString SAL_CALL FormController::getImplementationName() throw( RuntimeExceptio
return OUString("org.openoffice.comp.svx.FormController");
}
-Sequence< OUString> SAL_CALL FormController::getSupportedServiceNames(void) throw( RuntimeException, std::exception )
+Sequence< OUString> SAL_CALL FormController::getSupportedServiceNames() throw( RuntimeException, std::exception )
{
// service names which are supported only, but cannot be used to created an
// instance at a service factory
@@ -695,7 +695,7 @@ void SAL_CALL FormController::resetted(const EventObject& rEvent) throw( Runtime
}
-Sequence< OUString> FormController::getSupportedServiceNames_Static(void)
+Sequence< OUString> FormController::getSupportedServiceNames_Static()
{
static Sequence< OUString> aServices;
if (!aServices.getLength())
@@ -1066,14 +1066,14 @@ void SAL_CALL FormController::setActiveTerm( ::sal_Int32 _ActiveTerm ) throw (In
// XElementAccess
-sal_Bool SAL_CALL FormController::hasElements(void) throw( RuntimeException, std::exception )
+sal_Bool SAL_CALL FormController::hasElements() throw( RuntimeException, std::exception )
{
::osl::MutexGuard aGuard( m_aMutex );
return !m_aChildren.empty();
}
-Type SAL_CALL FormController::getElementType(void) throw( RuntimeException, std::exception )
+Type SAL_CALL FormController::getElementType() throw( RuntimeException, std::exception )
{
return cppu::UnoType<XFormController>::get();
@@ -1081,7 +1081,7 @@ Type SAL_CALL FormController::getElementType(void) throw( RuntimeException, std
// XEnumerationAccess
-Reference< XEnumeration > SAL_CALL FormController::createEnumeration(void) throw( RuntimeException, std::exception )
+Reference< XEnumeration > SAL_CALL FormController::createEnumeration() throw( RuntimeException, std::exception )
{
::osl::MutexGuard aGuard( m_aMutex );
return new ::comphelper::OEnumerationByIndex(this);
@@ -1089,7 +1089,7 @@ Reference< XEnumeration > SAL_CALL FormController::createEnumeration(void) thro
// XIndexAccess
-sal_Int32 SAL_CALL FormController::getCount(void) throw( RuntimeException, std::exception )
+sal_Int32 SAL_CALL FormController::getCount() throw( RuntimeException, std::exception )
{
::osl::MutexGuard aGuard( m_aMutex );
return m_aChildren.size();
@@ -1151,7 +1151,7 @@ void FormController::disposeAllFeaturesAndDispatchers()
}
-void FormController::disposing(void)
+void FormController::disposing()
{
EventObject aEvt( *this );
@@ -2109,7 +2109,7 @@ Reference< XControlContainer > FormController::getContainer() throw( RuntimeExc
}
-Sequence< Reference< XControl > > FormController::getControls(void) throw( RuntimeException, std::exception )
+Sequence< Reference< XControl > > FormController::getControls() throw( RuntimeException, std::exception )
{
::osl::MutexGuard aGuard( m_aMutex );
impl_checkDisposed_throw();
@@ -2957,7 +2957,7 @@ Reference< XFormOperations > SAL_CALL FormController::getFormOperations() throw
}
-Reference< XControl> SAL_CALL FormController::getCurrentControl(void) throw( RuntimeException, std::exception )
+Reference< XControl> SAL_CALL FormController::getCurrentControl() throw( RuntimeException, std::exception )
{
::osl::MutexGuard aGuard( m_aMutex );
impl_checkDisposed_throw();
@@ -3479,7 +3479,7 @@ void FormController::setMode(const OUString& Mode) throw( NoSupportException, Ru
}
-OUString SAL_CALL FormController::getMode(void) throw( RuntimeException, std::exception )
+OUString SAL_CALL FormController::getMode() throw( RuntimeException, std::exception )
{
::osl::MutexGuard aGuard( m_aMutex );
impl_checkDisposed_throw();
@@ -3488,7 +3488,7 @@ OUString SAL_CALL FormController::getMode(void) throw( RuntimeException, std::ex
}
-Sequence< OUString > SAL_CALL FormController::getSupportedModes(void) throw( RuntimeException, std::exception )
+Sequence< OUString > SAL_CALL FormController::getSupportedModes() throw( RuntimeException, std::exception )
{
::osl::MutexGuard aGuard( m_aMutex );
impl_checkDisposed_throw();