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 --- connectivity/source/sdbcx/VCollection.cxx | 2 +- connectivity/source/sdbcx/VColumn.cxx | 2 +- connectivity/source/sdbcx/VGroup.cxx | 2 +- connectivity/source/sdbcx/VIndex.cxx | 2 +- connectivity/source/sdbcx/VTable.cxx | 2 +- connectivity/source/sdbcx/VUser.cxx | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'connectivity/source/sdbcx') diff --git a/connectivity/source/sdbcx/VCollection.cxx b/connectivity/source/sdbcx/VCollection.cxx index c43cc185d92d..3dd1d9a5455e 100644 --- a/connectivity/source/sdbcx/VCollection.cxx +++ b/connectivity/source/sdbcx/VCollection.cxx @@ -293,7 +293,7 @@ void OCollection::clear_NoDispose() } -void OCollection::disposing(void) +void OCollection::disposing() { m_aContainerListeners.disposeAndClear(EventObject(static_cast(this))); m_aRefreshListeners.disposeAndClear(EventObject(static_cast(this))); diff --git a/connectivity/source/sdbcx/VColumn.cxx b/connectivity/source/sdbcx/VColumn.cxx index 6653c014192e..bc2d2185d359 100644 --- a/connectivity/source/sdbcx/VColumn.cxx +++ b/connectivity/source/sdbcx/VColumn.cxx @@ -172,7 +172,7 @@ void OColumn::construct() registerProperty(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_TABLENAME), PROPERTY_ID_TABLENAME, nAttrib, &m_TableName, cppu::UnoType::get()); } -void OColumn::disposing(void) +void OColumn::disposing() { OPropertySetHelper::disposing(); diff --git a/connectivity/source/sdbcx/VGroup.cxx b/connectivity/source/sdbcx/VGroup.cxx index 1bf65b9e9804..6ebb5c1639cc 100644 --- a/connectivity/source/sdbcx/VGroup.cxx +++ b/connectivity/source/sdbcx/VGroup.cxx @@ -67,7 +67,7 @@ Sequence< Type > SAL_CALL OGroup::getTypes( ) throw(RuntimeException, std::exce return ::comphelper::concatSequences(ODescriptor::getTypes(),OGroup_BASE::getTypes()); } -void OGroup::disposing(void) +void OGroup::disposing() { OPropertySetHelper::disposing(); diff --git a/connectivity/source/sdbcx/VIndex.cxx b/connectivity/source/sdbcx/VIndex.cxx index bcbf6e5e804f..e7dee0361cec 100644 --- a/connectivity/source/sdbcx/VIndex.cxx +++ b/connectivity/source/sdbcx/VIndex.cxx @@ -133,7 +133,7 @@ void OIndex::construct() registerProperty(OMetaConnection::getPropMap().getNameByIndex(PROPERTY_ID_ISCLUSTERED), PROPERTY_ID_ISCLUSTERED, nAttrib,&m_IsClustered, cppu::UnoType::get()); } -void OIndex::disposing(void) +void OIndex::disposing() { OPropertySetHelper::disposing(); diff --git a/connectivity/source/sdbcx/VTable.cxx b/connectivity/source/sdbcx/VTable.cxx index 7828c7e1fe12..7a4d453febb3 100644 --- a/connectivity/source/sdbcx/VTable.cxx +++ b/connectivity/source/sdbcx/VTable.cxx @@ -145,7 +145,7 @@ Sequence< Type > SAL_CALL OTable::getTypes( ) throw(RuntimeException, std::exce return ::comphelper::concatSequences(ODescriptor::getTypes(),OTableDescriptor_BASE::getTypes(),OTable_BASE::getTypes()); } -void SAL_CALL OTable::disposing(void) +void SAL_CALL OTable::disposing() { ODescriptor::disposing(); diff --git a/connectivity/source/sdbcx/VUser.cxx b/connectivity/source/sdbcx/VUser.cxx index b74842c724eb..7d5067248ba3 100644 --- a/connectivity/source/sdbcx/VUser.cxx +++ b/connectivity/source/sdbcx/VUser.cxx @@ -57,7 +57,7 @@ OUser::~OUser( ) delete m_pGroups; } -void OUser::disposing(void) +void OUser::disposing() { OPropertySetHelper::disposing(); ::osl::MutexGuard aGuard(m_aMutex); -- cgit