diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-14 12:44:47 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-15 11:47:12 +0200 |
commit | 71b809959bb8f775d83dc52628448bb8b8322b28 (patch) | |
tree | f9aa4308050eb7d55611068602c0cf0e3c1b3690 /dbaccess/source/ui/querydesign | |
parent | fix crash on export of fdo60365-2.ods to xlsx (diff) | |
download | core-71b809959bb8f775d83dc52628448bb8b8322b28.tar.gz core-71b809959bb8f775d83dc52628448bb8b8322b28.zip |
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 'dbaccess/source/ui/querydesign')
4 files changed, 6 insertions, 6 deletions
diff --git a/dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx b/dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx index d089f291c1ec..e58d60f183f3 100644 --- a/dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx +++ b/dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx @@ -61,7 +61,7 @@ namespace dbaui return getImplementationName_Static(); } // XServiceInfo - static methods - OUString OConnectionLineAccess::getImplementationName_Static(void) throw( RuntimeException ) + OUString OConnectionLineAccess::getImplementationName_Static() throw( RuntimeException ) { return OUString("org.openoffice.comp.dbu.ConnectionLineAccessibility"); } diff --git a/dbaccess/source/ui/querydesign/JAccess.cxx b/dbaccess/source/ui/querydesign/JAccess.cxx index 9e942be56793..c76d2f8c933f 100644 --- a/dbaccess/source/ui/querydesign/JAccess.cxx +++ b/dbaccess/source/ui/querydesign/JAccess.cxx @@ -41,7 +41,7 @@ namespace dbaui { return getImplementationName_Static(); } - OUString OJoinDesignViewAccess::getImplementationName_Static(void) throw( RuntimeException ) + OUString OJoinDesignViewAccess::getImplementationName_Static() throw( RuntimeException ) { return OUString("org.openoffice.comp.dbu.JoinViewAccessibility"); } diff --git a/dbaccess/source/ui/querydesign/TableWindowAccess.cxx b/dbaccess/source/ui/querydesign/TableWindowAccess.cxx index b91e32e50bed..c122c96dc79d 100644 --- a/dbaccess/source/ui/querydesign/TableWindowAccess.cxx +++ b/dbaccess/source/ui/querydesign/TableWindowAccess.cxx @@ -77,14 +77,14 @@ namespace dbaui return getSupportedServiceNames_Static(); } // XServiceInfo - static methods - Sequence< OUString > OTableWindowAccess::getSupportedServiceNames_Static(void) throw( RuntimeException ) + Sequence< OUString > OTableWindowAccess::getSupportedServiceNames_Static() throw( RuntimeException ) { Sequence< OUString > aSupported(2); aSupported[0] = "com.sun.star.accessibility.Accessible"; aSupported[1] = "com.sun.star.accessibility.AccessibleContext"; return aSupported; } - OUString OTableWindowAccess::getImplementationName_Static(void) throw( RuntimeException ) + OUString OTableWindowAccess::getImplementationName_Static() throw( RuntimeException ) { return OUString("org.openoffice.comp.dbu.TableWindowAccessibility"); } diff --git a/dbaccess/source/ui/querydesign/querycontroller.cxx b/dbaccess/source/ui/querydesign/querycontroller.cxx index c1f5fe73011e..92dde0c697a5 100644 --- a/dbaccess/source/ui/querydesign/querycontroller.cxx +++ b/dbaccess/source/ui/querydesign/querycontroller.cxx @@ -117,7 +117,7 @@ namespace dbaui { return OUString("org.openoffice.comp.dbu.OViewDesign"); } - static Sequence< OUString > getSupportedServiceNames_Static(void) throw( RuntimeException ) + static Sequence< OUString > getSupportedServiceNames_Static() throw( RuntimeException ) { Sequence< OUString> aSupported(1); aSupported.getArray()[0] = "com.sun.star.sdb.ViewDesign"; @@ -308,7 +308,7 @@ OUString OQueryController::getImplementationName_Static() throw( RuntimeExceptio return OUString("org.openoffice.comp.dbu.OQueryDesign"); } -Sequence< OUString> OQueryController::getSupportedServiceNames_Static(void) throw( RuntimeException ) +Sequence< OUString> OQueryController::getSupportedServiceNames_Static() throw( RuntimeException ) { Sequence< OUString> aSupported(1); aSupported.getArray()[0] = "com.sun.star.sdb.QueryDesign"; |