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/wininetbe | |
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/wininetbe')
-rw-r--r-- | shell/source/backends/wininetbe/wininetbackend.cxx | 10 | ||||
-rw-r--r-- | shell/source/backends/wininetbe/wininetbackend.hxx | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/shell/source/backends/wininetbe/wininetbackend.cxx b/shell/source/backends/wininetbe/wininetbackend.cxx index 1c6b4de581d6..23aed71fcf01 100644 --- a/shell/source/backends/wininetbe/wininetbackend.cxx +++ b/shell/source/backends/wininetbe/wininetbackend.cxx @@ -298,7 +298,7 @@ WinInetBackend::WinInetBackend() -WinInetBackend::~WinInetBackend(void) +WinInetBackend::~WinInetBackend() { } @@ -362,19 +362,19 @@ css::uno::Any WinInetBackend::getPropertyValue( -OUString SAL_CALL WinInetBackend::getBackendName(void) { +OUString SAL_CALL WinInetBackend::getBackendName() { return OUString("com.sun.star.comp.configuration.backend.WinInetBackend") ; } -OUString SAL_CALL WinInetBackend::getImplementationName(void) +OUString SAL_CALL WinInetBackend::getImplementationName() throw (uno::RuntimeException) { return getBackendName() ; } -uno::Sequence<OUString> SAL_CALL WinInetBackend::getBackendServiceNames(void) +uno::Sequence<OUString> SAL_CALL WinInetBackend::getBackendServiceNames() { uno::Sequence<OUString> aServiceNameList(1); aServiceNameList[0] = "com.sun.star.configuration.backend.WinInetBackend"; @@ -388,7 +388,7 @@ sal_Bool SAL_CALL WinInetBackend::supportsService(const OUString& aServiceName) return cppu::supportsService(this, aServiceName); } -uno::Sequence<OUString> SAL_CALL WinInetBackend::getSupportedServiceNames(void) +uno::Sequence<OUString> SAL_CALL WinInetBackend::getSupportedServiceNames() throw (uno::RuntimeException) { return getBackendServiceNames() ; diff --git a/shell/source/backends/wininetbe/wininetbackend.hxx b/shell/source/backends/wininetbe/wininetbackend.hxx index 57d6e8333705..a2b87079da63 100644 --- a/shell/source/backends/wininetbe/wininetbackend.hxx +++ b/shell/source/backends/wininetbe/wininetbackend.hxx @@ -55,13 +55,13 @@ class WinInetBackend : public ::cppu::WeakImplHelper2 < @return implementation name */ - static OUString SAL_CALL getBackendName(void) ; + static OUString SAL_CALL getBackendName() ; /** Provides the supported services names @return service names */ - static uno::Sequence<OUString> SAL_CALL getBackendServiceNames(void) ; + static uno::Sequence<OUString> SAL_CALL getBackendServiceNames() ; // XPropertySet virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL @@ -123,7 +123,7 @@ class WinInetBackend : public ::cppu::WeakImplHelper2 < WinInetBackend(); /** Destructor */ - ~WinInetBackend(void) ; + ~WinInetBackend() ; private: com::sun::star::beans::Optional< com::sun::star::uno::Any > |