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 /sc/source/ui/Accessibility/AccessiblePageHeaderArea.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 'sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx')
-rw-r--r-- | sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx b/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx index 88403d803f26..a4370fe3a56c 100644 --- a/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx +++ b/sc/source/ui/Accessibility/AccessiblePageHeaderArea.cxx @@ -65,7 +65,7 @@ ScAccessiblePageHeaderArea::ScAccessiblePageHeaderArea( mpViewShell->AddAccessibilityObject(*this); } -ScAccessiblePageHeaderArea::~ScAccessiblePageHeaderArea(void) +ScAccessiblePageHeaderArea::~ScAccessiblePageHeaderArea() { if (!ScAccessibleContextBase::IsDefunc() && !rBHelper.bInDispose) { @@ -136,7 +136,7 @@ uno::Reference< XAccessible > SAL_CALL ScAccessiblePageHeaderArea::getAccessible //===== XAccessibleContext ============================================== sal_Int32 SAL_CALL - ScAccessiblePageHeaderArea::getAccessibleChildCount(void) + ScAccessiblePageHeaderArea::getAccessibleChildCount() throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; @@ -159,7 +159,7 @@ uno::Reference< XAccessible > SAL_CALL } uno::Reference<XAccessibleStateSet> SAL_CALL - ScAccessiblePageHeaderArea::getAccessibleStateSet(void) + ScAccessiblePageHeaderArea::getAccessibleStateSet() throw (uno::RuntimeException, std::exception) { SolarMutexGuard aGuard; @@ -187,14 +187,14 @@ uno::Reference<XAccessibleStateSet> SAL_CALL //===== XServiceInfo ======================================================== OUString SAL_CALL - ScAccessiblePageHeaderArea::getImplementationName(void) + ScAccessiblePageHeaderArea::getImplementationName() throw (uno::RuntimeException, std::exception) { return OUString("ScAccessiblePageHeaderArea"); } uno::Sequence< OUString> SAL_CALL - ScAccessiblePageHeaderArea::getSupportedServiceNames(void) + ScAccessiblePageHeaderArea::getSupportedServiceNames() throw (uno::RuntimeException, std::exception) { uno::Sequence< OUString > aSequence = ScAccessibleContextBase::getSupportedServiceNames(); @@ -209,14 +209,14 @@ uno::Sequence< OUString> SAL_CALL //===== XTypeProvider ======================================================= uno::Sequence<sal_Int8> SAL_CALL - ScAccessiblePageHeaderArea::getImplementationId(void) + ScAccessiblePageHeaderArea::getImplementationId() throw (uno::RuntimeException, std::exception) { return css::uno::Sequence<sal_Int8>(); } //===== internal ============================================================== -OUString SAL_CALL ScAccessiblePageHeaderArea::createAccessibleDescription(void) +OUString SAL_CALL ScAccessiblePageHeaderArea::createAccessibleDescription() throw(uno::RuntimeException) { OUString sDesc; @@ -238,7 +238,7 @@ OUString SAL_CALL ScAccessiblePageHeaderArea::createAccessibleDescription(void) return sDesc; } -OUString SAL_CALL ScAccessiblePageHeaderArea::createAccessibleName(void) +OUString SAL_CALL ScAccessiblePageHeaderArea::createAccessibleName() throw (uno::RuntimeException, std::exception) { OUString sName; @@ -260,7 +260,7 @@ OUString SAL_CALL ScAccessiblePageHeaderArea::createAccessibleName(void) return sName; } -Rectangle ScAccessiblePageHeaderArea::GetBoundingBoxOnScreen(void) const +Rectangle ScAccessiblePageHeaderArea::GetBoundingBoxOnScreen() const throw(::com::sun::star::uno::RuntimeException, std::exception) { Rectangle aRect; @@ -277,7 +277,7 @@ Rectangle ScAccessiblePageHeaderArea::GetBoundingBoxOnScreen(void) const return aRect; } -Rectangle ScAccessiblePageHeaderArea::GetBoundingBox(void) const +Rectangle ScAccessiblePageHeaderArea::GetBoundingBox() const throw (::com::sun::star::uno::RuntimeException, std::exception) { Rectangle aRect; |