summaryrefslogtreecommitdiff
path: root/connectivity/source/drivers/mozab/mozillasrc
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 /connectivity/source/drivers/mozab/mozillasrc
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 'connectivity/source/drivers/mozab/mozillasrc')
-rw-r--r--connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx2
-rw-r--r--connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx4
-rw-r--r--connectivity/source/drivers/mozab/mozillasrc/MQuery.hxx8
3 files changed, 7 insertions, 7 deletions
diff --git a/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx b/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx
index a3429b70bc1f..82fbccd366b8 100644
--- a/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx
+++ b/connectivity/source/drivers/mozab/mozillasrc/MLdapAttributeMap.cxx
@@ -246,7 +246,7 @@ namespace connectivity { namespace mozab {
}
- NS_IMETHODIMP MLdapAttributeMap::CheckState(void)
+ NS_IMETHODIMP MLdapAttributeMap::CheckState()
{
// we do not allow modifying the map, so we're always in a valid state
return NS_OK;
diff --git a/connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx b/connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx
index 8b24a4266d55..fe2f8f7c4a01 100644
--- a/connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx
+++ b/connectivity/source/drivers/mozab/mozillasrc/MQuery.cxx
@@ -592,13 +592,13 @@ MQuery::getRealRowCount()
// false
sal_Bool
-MQuery::queryComplete( void )
+MQuery::queryComplete()
{
return hadError() || m_aQueryHelper->queryComplete();
}
sal_Bool
-MQuery::waitForQueryComplete( void )
+MQuery::waitForQueryComplete()
{
if( m_aQueryHelper->waitForQueryComplete( ) )
return sal_True;
diff --git a/connectivity/source/drivers/mozab/mozillasrc/MQuery.hxx b/connectivity/source/drivers/mozab/mozillasrc/MQuery.hxx
index 08facee24cd5..524fe5e0014b 100644
--- a/connectivity/source/drivers/mozab/mozillasrc/MQuery.hxx
+++ b/connectivity/source/drivers/mozab/mozillasrc/MQuery.hxx
@@ -234,10 +234,10 @@ namespace connectivity
void setMaxNrOfReturns( const sal_Int32);
- sal_Int32 getRowCount( void );
- sal_uInt32 getRealRowCount( void );
- sal_Bool queryComplete( void );
- sal_Bool waitForQueryComplete( void );
+ sal_Int32 getRowCount();
+ sal_uInt32 getRealRowCount();
+ sal_Bool queryComplete();
+ sal_Bool waitForQueryComplete();
sal_Bool checkRowAvailable( sal_Int32 nDBRow );
sal_Bool getRowValue( connectivity::ORowSetValue& rValue,
sal_Int32 nDBRow,