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 /shell/source/backends/localebe/localebackend.cxx | |
parent | 135907f2061550624ee1859745d94eee01849070 (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 'shell/source/backends/localebe/localebackend.cxx')
-rw-r--r-- | shell/source/backends/localebe/localebackend.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/shell/source/backends/localebe/localebackend.cxx b/shell/source/backends/localebe/localebackend.cxx index f2190d17fbfa..4b5c34a50be1 100644 --- a/shell/source/backends/localebe/localebackend.cxx +++ b/shell/source/backends/localebe/localebackend.cxx @@ -211,7 +211,7 @@ LocaleBackend::LocaleBackend() -LocaleBackend::~LocaleBackend(void) +LocaleBackend::~LocaleBackend() { } @@ -224,7 +224,7 @@ LocaleBackend* LocaleBackend::createInstance() -OUString LocaleBackend::getLocale(void) +OUString LocaleBackend::getLocale() { #if defined WNT return ImplGetLocale( GetUserDefaultLCID() ); @@ -237,7 +237,7 @@ OUString LocaleBackend::getLocale(void) -OUString LocaleBackend::getUILocale(void) +OUString LocaleBackend::getUILocale() { #if defined WNT return ImplGetLocale( MAKELCID(GetUserDefaultUILanguage(), SORT_DEFAULT) ); @@ -250,7 +250,7 @@ OUString LocaleBackend::getUILocale(void) -OUString LocaleBackend::getSystemLocale(void) +OUString LocaleBackend::getSystemLocale() { // note: the implementation differs from getLocale() only on Windows #if defined WNT @@ -302,17 +302,17 @@ css::uno::Any LocaleBackend::getPropertyValue( -OUString SAL_CALL LocaleBackend::getBackendName(void) { +OUString SAL_CALL LocaleBackend::getBackendName() { return OUString("com.sun.star.comp.configuration.backend.LocaleBackend") ; } -OUString SAL_CALL LocaleBackend::getImplementationName(void) +OUString SAL_CALL LocaleBackend::getImplementationName() throw (uno::RuntimeException, std::exception) { return getBackendName() ; } -uno::Sequence<OUString> SAL_CALL LocaleBackend::getBackendServiceNames(void) +uno::Sequence<OUString> SAL_CALL LocaleBackend::getBackendServiceNames() { uno::Sequence<OUString> aServiceNameList(1); aServiceNameList[0] = "com.sun.star.configuration.backend.LocaleBackend"; @@ -325,7 +325,7 @@ sal_Bool SAL_CALL LocaleBackend::supportsService(const OUString& aServiceName) return cppu::supportsService(this, aServiceName); } -uno::Sequence<OUString> SAL_CALL LocaleBackend::getSupportedServiceNames(void) +uno::Sequence<OUString> SAL_CALL LocaleBackend::getSupportedServiceNames() throw (uno::RuntimeException, std::exception) { return getBackendServiceNames() ; |