summaryrefslogtreecommitdiff
path: root/accessibility/source/standard/vclxaccessiblelist.cxx
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 /accessibility/source/standard/vclxaccessiblelist.cxx
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 'accessibility/source/standard/vclxaccessiblelist.cxx')
-rw-r--r--accessibility/source/standard/vclxaccessiblelist.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/accessibility/source/standard/vclxaccessiblelist.cxx b/accessibility/source/standard/vclxaccessiblelist.cxx
index 7fc060ba89e2..cb70d1a3711d 100644
--- a/accessibility/source/standard/vclxaccessiblelist.cxx
+++ b/accessibility/source/standard/vclxaccessiblelist.cxx
@@ -96,7 +96,7 @@ VCLXAccessibleList::VCLXAccessibleList (VCLXWindow* pVCLWindow, BoxType aBoxType
}
-VCLXAccessibleList::~VCLXAccessibleList (void)
+VCLXAccessibleList::~VCLXAccessibleList()
{
delete m_pListBoxHelper;
}
@@ -108,7 +108,7 @@ void VCLXAccessibleList::SetIndexInParent (sal_Int32 nIndex)
}
-void SAL_CALL VCLXAccessibleList::disposing (void)
+void SAL_CALL VCLXAccessibleList::disposing()
{
VCLXAccessibleComponent::disposing();
@@ -561,7 +561,7 @@ IMPLEMENT_FORWARD_XTYPEPROVIDER2(VCLXAccessibleList, VCLXAccessibleComponent, VC
//===== XAccessible =========================================================
Reference<XAccessibleContext> SAL_CALL
- VCLXAccessibleList::getAccessibleContext (void)
+ VCLXAccessibleList::getAccessibleContext()
throw (RuntimeException, std::exception)
{
return this;
@@ -570,7 +570,7 @@ Reference<XAccessibleContext> SAL_CALL
//===== XAccessibleContext ==================================================
-sal_Int32 SAL_CALL VCLXAccessibleList::getAccessibleChildCount (void)
+sal_Int32 SAL_CALL VCLXAccessibleList::getAccessibleChildCount()
throw (RuntimeException, std::exception)
{
SolarMutexGuard aSolarGuard;
@@ -614,7 +614,7 @@ Reference< XAccessible > SAL_CALL VCLXAccessibleList::getAccessibleParent( )
return m_xParent;
}
-sal_Int32 SAL_CALL VCLXAccessibleList::getAccessibleIndexInParent (void)
+sal_Int32 SAL_CALL VCLXAccessibleList::getAccessibleIndexInParent()
throw (::com::sun::star::uno::RuntimeException, std::exception)
{
if (m_nIndexInParent != DEFAULT_INDEX_IN_PARENT)
@@ -623,20 +623,20 @@ sal_Int32 SAL_CALL VCLXAccessibleList::getAccessibleIndexInParent (void)
return VCLXAccessibleComponent::getAccessibleIndexInParent();
}
-sal_Int16 SAL_CALL VCLXAccessibleList::getAccessibleRole (void)
+sal_Int16 SAL_CALL VCLXAccessibleList::getAccessibleRole()
throw (RuntimeException, std::exception)
{
return AccessibleRole::LIST;
}
//===== XServiceInfo ==========================================================
-OUString VCLXAccessibleList::getImplementationName (void)
+OUString VCLXAccessibleList::getImplementationName()
throw (RuntimeException, std::exception)
{
return OUString( "com.sun.star.comp.toolkit.AccessibleList" );
}
-Sequence< OUString > VCLXAccessibleList::getSupportedServiceNames (void)
+Sequence< OUString > VCLXAccessibleList::getSupportedServiceNames()
throw (RuntimeException, std::exception)
{
Sequence< OUString > aNames = VCLXAccessibleComponent::getSupportedServiceNames();