summaryrefslogtreecommitdiff
path: root/accessibility/inc/accessibility
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/inc/accessibility
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/inc/accessibility')
-rw-r--r--accessibility/inc/accessibility/extended/accessibleiconchoicectrl.hxx4
-rw-r--r--accessibility/inc/accessibility/extended/accessibleiconchoicectrlentry.hxx4
-rw-r--r--accessibility/inc/accessibility/extended/accessiblelistbox.hxx4
-rw-r--r--accessibility/inc/accessibility/extended/accessiblelistboxentry.hxx4
-rw-r--r--accessibility/inc/accessibility/extended/accessibletablistboxtable.hxx2
-rw-r--r--accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx14
-rw-r--r--accessibility/inc/accessibility/standard/vclxaccessiblecombobox.hxx8
-rw-r--r--accessibility/inc/accessibility/standard/vclxaccessibledropdowncombobox.hxx8
-rw-r--r--accessibility/inc/accessibility/standard/vclxaccessibledropdownlistbox.hxx8
-rw-r--r--accessibility/inc/accessibility/standard/vclxaccessiblelist.hxx18
-rw-r--r--accessibility/inc/accessibility/standard/vclxaccessiblelistbox.hxx8
-rw-r--r--accessibility/inc/accessibility/standard/vclxaccessiblelistitem.hxx4
-rw-r--r--accessibility/inc/accessibility/standard/vclxaccessibletextfield.hxx14
13 files changed, 50 insertions, 50 deletions
diff --git a/accessibility/inc/accessibility/extended/accessibleiconchoicectrl.hxx b/accessibility/inc/accessibility/extended/accessibleiconchoicectrl.hxx
index 99757a9144ce..92c8cc3087b7 100644
--- a/accessibility/inc/accessibility/extended/accessibleiconchoicectrl.hxx
+++ b/accessibility/inc/accessibility/extended/accessibleiconchoicectrl.hxx
@@ -78,8 +78,8 @@ namespace accessibility
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo - static methods
- static com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(void) throw(com::sun::star::uno::RuntimeException);
- static OUString getImplementationName_Static(void) throw(com::sun::star::uno::RuntimeException);
+ static com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static() throw(com::sun::star::uno::RuntimeException);
+ static OUString getImplementationName_Static() throw(com::sun::star::uno::RuntimeException);
// XAccessible
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/accessibility/inc/accessibility/extended/accessibleiconchoicectrlentry.hxx b/accessibility/inc/accessibility/extended/accessibleiconchoicectrlentry.hxx
index 098c8e5d0d43..da1a386b1643 100644
--- a/accessibility/inc/accessibility/extended/accessibleiconchoicectrlentry.hxx
+++ b/accessibility/inc/accessibility/extended/accessibleiconchoicectrlentry.hxx
@@ -119,8 +119,8 @@ namespace accessibility
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo - static methods
- static com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(void) throw(com::sun::star::uno::RuntimeException);
- static OUString getImplementationName_Static(void) throw(com::sun::star::uno::RuntimeException);
+ static com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static() throw(com::sun::star::uno::RuntimeException);
+ static OUString getImplementationName_Static() throw(com::sun::star::uno::RuntimeException);
// XEventListener
virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw(::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/accessibility/inc/accessibility/extended/accessiblelistbox.hxx b/accessibility/inc/accessibility/extended/accessiblelistbox.hxx
index 739153c2fa0c..3032a8b9b578 100644
--- a/accessibility/inc/accessibility/extended/accessiblelistbox.hxx
+++ b/accessibility/inc/accessibility/extended/accessiblelistbox.hxx
@@ -90,8 +90,8 @@ namespace accessibility
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo - static methods
- static com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(void) throw(com::sun::star::uno::RuntimeException);
- static OUString getImplementationName_Static(void) throw(com::sun::star::uno::RuntimeException);
+ static com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static() throw(com::sun::star::uno::RuntimeException);
+ static OUString getImplementationName_Static() throw(com::sun::star::uno::RuntimeException);
// XAccessible
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/accessibility/inc/accessibility/extended/accessiblelistboxentry.hxx b/accessibility/inc/accessibility/extended/accessiblelistboxentry.hxx
index dc3bd4653e82..a4fa0ab09421 100644
--- a/accessibility/inc/accessibility/extended/accessiblelistboxentry.hxx
+++ b/accessibility/inc/accessibility/extended/accessiblelistboxentry.hxx
@@ -155,8 +155,8 @@ namespace accessibility
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo - static methods
- static com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static(void) throw(com::sun::star::uno::RuntimeException);
- static OUString getImplementationName_Static(void) throw(com::sun::star::uno::RuntimeException);
+ static com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static() throw(com::sun::star::uno::RuntimeException);
+ static OUString getImplementationName_Static() throw(com::sun::star::uno::RuntimeException);
// XAccessible
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext > SAL_CALL getAccessibleContext( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/accessibility/inc/accessibility/extended/accessibletablistboxtable.hxx b/accessibility/inc/accessibility/extended/accessibletablistboxtable.hxx
index 92e6fe996706..272f3fcc7e22 100644
--- a/accessibility/inc/accessibility/extended/accessibletablistboxtable.hxx
+++ b/accessibility/inc/accessibility/extended/accessibletablistboxtable.hxx
@@ -92,7 +92,7 @@ public:
DECLARE_XTYPEPROVIDER( )
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName (void)
+ virtual OUString SAL_CALL getImplementationName()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XAccessibleSelection
diff --git a/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx b/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx
index 5654a12f77e5..8c46ebde607d 100644
--- a/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx
+++ b/accessibility/inc/accessibility/standard/vclxaccessiblebox.hxx
@@ -72,7 +72,7 @@ public:
actual list. The text field is not provided for non drop down list
boxes.
*/
- sal_Int32 SAL_CALL getAccessibleChildCount (void)
+ sal_Int32 SAL_CALL getAccessibleChildCount()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
/** For drop down list boxes the text field is a not editable
<type>VCLXAccessibleTextField</type>, for combo boxes it is an
@@ -84,17 +84,17 @@ public:
/** The role is always <const
scope="com::sun::star::accessibility">AccessibleRole::COMBO_BOX</const>.
*/
- sal_Int16 SAL_CALL getAccessibleRole (void)
+ sal_Int16 SAL_CALL getAccessibleRole()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- sal_Int32 SAL_CALL getAccessibleIndexInParent (void)
+ sal_Int32 SAL_CALL getAccessibleIndexInParent()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XAccessibleAction
/** There is one action for drop down boxes and none for others.
*/
- virtual sal_Int32 SAL_CALL getAccessibleActionCount (void)
+ virtual sal_Int32 SAL_CALL getAccessibleActionCount()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
/** The action for drop down boxes lets the user toggle the visibility of the
popup menu.
@@ -121,7 +121,7 @@ public:
/** This method is called from the implementation helper during an
XComponent::dispose() call.
*/
- virtual void SAL_CALL disposing (void) SAL_OVERRIDE;
+ virtual void SAL_CALL disposing() SAL_OVERRIDE;
//===== XAccessibleValue ================================================
@@ -170,11 +170,11 @@ protected:
*/
bool m_bHasListChild;
- virtual ~VCLXAccessibleBox (void);
+ virtual ~VCLXAccessibleBox();
/** Returns </true> when the object is valid.
*/
- virtual bool IsValid (void) const = 0;
+ virtual bool IsValid() const = 0;
virtual void ProcessWindowChildEvent (const VclWindowEvent& rVclWindowEvent) SAL_OVERRIDE;
virtual void ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent) SAL_OVERRIDE;
diff --git a/accessibility/inc/accessibility/standard/vclxaccessiblecombobox.hxx b/accessibility/inc/accessibility/standard/vclxaccessiblecombobox.hxx
index 0ad8948ec6b1..cfc705e02223 100644
--- a/accessibility/inc/accessibility/standard/vclxaccessiblecombobox.hxx
+++ b/accessibility/inc/accessibility/standard/vclxaccessiblecombobox.hxx
@@ -39,17 +39,17 @@ public:
VCLXAccessibleComboBox (VCLXWindow* pVCLXindow);
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName (void)
+ virtual OUString SAL_CALL getImplementationName()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// Return combo box specific services.
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL
- getSupportedServiceNames (void)
+ getSupportedServiceNames()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
protected:
- virtual ~VCLXAccessibleComboBox (void);
+ virtual ~VCLXAccessibleComboBox();
- virtual bool IsValid (void) const SAL_OVERRIDE;
+ virtual bool IsValid() const SAL_OVERRIDE;
virtual void ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent) SAL_OVERRIDE;
};
diff --git a/accessibility/inc/accessibility/standard/vclxaccessibledropdowncombobox.hxx b/accessibility/inc/accessibility/standard/vclxaccessibledropdowncombobox.hxx
index c52ea880a5b7..7499987b16eb 100644
--- a/accessibility/inc/accessibility/standard/vclxaccessibledropdowncombobox.hxx
+++ b/accessibility/inc/accessibility/standard/vclxaccessibledropdowncombobox.hxx
@@ -41,17 +41,17 @@ public:
VCLXAccessibleDropDownComboBox (VCLXWindow* pVCLXindow);
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName (void)
+ virtual OUString SAL_CALL getImplementationName()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// Return drop down combo box specific services.
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL
- getSupportedServiceNames (void)
+ getSupportedServiceNames()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
protected:
- virtual ~VCLXAccessibleDropDownComboBox (void);
+ virtual ~VCLXAccessibleDropDownComboBox();
- virtual bool IsValid (void) const SAL_OVERRIDE;
+ virtual bool IsValid() const SAL_OVERRIDE;
virtual void ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent) SAL_OVERRIDE;
};
diff --git a/accessibility/inc/accessibility/standard/vclxaccessibledropdownlistbox.hxx b/accessibility/inc/accessibility/standard/vclxaccessibledropdownlistbox.hxx
index fcf41453a7e8..ac34023534d4 100644
--- a/accessibility/inc/accessibility/standard/vclxaccessibledropdownlistbox.hxx
+++ b/accessibility/inc/accessibility/standard/vclxaccessibledropdownlistbox.hxx
@@ -40,17 +40,17 @@ public:
VCLXAccessibleDropDownListBox (VCLXWindow* pVCLXindow);
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName (void)
+ virtual OUString SAL_CALL getImplementationName()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// Return drop down list box specific services.
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL
- getSupportedServiceNames (void)
+ getSupportedServiceNames()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
protected:
- virtual ~VCLXAccessibleDropDownListBox (void);
+ virtual ~VCLXAccessibleDropDownListBox();
- virtual bool IsValid (void) const SAL_OVERRIDE;
+ virtual bool IsValid() const SAL_OVERRIDE;
virtual void ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent) SAL_OVERRIDE;
};
diff --git a/accessibility/inc/accessibility/standard/vclxaccessiblelist.hxx b/accessibility/inc/accessibility/standard/vclxaccessiblelist.hxx
index 432e3212563f..95f7869ed93f 100644
--- a/accessibility/inc/accessibility/standard/vclxaccessiblelist.hxx
+++ b/accessibility/inc/accessibility/standard/vclxaccessiblelist.hxx
@@ -89,11 +89,11 @@ public:
// XAccessible
virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext> SAL_CALL
- getAccessibleContext (void)
+ getAccessibleContext()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XAccessibleContext
- virtual sal_Int32 SAL_CALL getAccessibleChildCount (void)
+ virtual sal_Int32 SAL_CALL getAccessibleChildCount()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL
getAccessibleChild (sal_Int32 i)
@@ -105,17 +105,17 @@ public:
/** The index returned as index in parent is always the one set with the
<member>SetIndexInParent()</member> method.
*/
- virtual sal_Int32 SAL_CALL getAccessibleIndexInParent (void)
+ virtual sal_Int32 SAL_CALL getAccessibleIndexInParent()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual sal_Int16 SAL_CALL getAccessibleRole (void)
+ virtual sal_Int16 SAL_CALL getAccessibleRole()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName (void)
+ virtual OUString SAL_CALL getImplementationName()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// Return list specific services.
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL
- getSupportedServiceNames (void)
+ getSupportedServiceNames()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XAccessibleSelection
@@ -154,12 +154,12 @@ protected:
::com::sun::star::uno::WeakReference< ::com::sun::star::accessibility::XAccessible>
m_xSelectedItem;
- virtual ~VCLXAccessibleList (void);
+ virtual ~VCLXAccessibleList();
/** This function is called from the implementation helper during a
XComponent::dispose call. Free the list of items and the items themselves.
*/
- virtual void SAL_CALL disposing (void) SAL_OVERRIDE;
+ virtual void SAL_CALL disposing() SAL_OVERRIDE;
/** This method adds the states
<const>AccessibleStateType::FOCUSABLE</const> and possibly
@@ -200,7 +200,7 @@ private:
*/
void clearItems();
- void UpdateEntryRange_Impl (void);
+ void UpdateEntryRange_Impl();
protected:
void UpdateSelection_Impl (sal_uInt16 nPos = 0);
bool checkEntrySelected(sal_uInt16 _nPos,
diff --git a/accessibility/inc/accessibility/standard/vclxaccessiblelistbox.hxx b/accessibility/inc/accessibility/standard/vclxaccessiblelistbox.hxx
index 4e0a7cb192d3..d4da160ae805 100644
--- a/accessibility/inc/accessibility/standard/vclxaccessiblelistbox.hxx
+++ b/accessibility/inc/accessibility/standard/vclxaccessiblelistbox.hxx
@@ -37,17 +37,17 @@ public:
VCLXAccessibleListBox (VCLXWindow* pVCLXindow);
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName (void)
+ virtual OUString SAL_CALL getImplementationName()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// Return list box specific services.
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL
- getSupportedServiceNames (void)
+ getSupportedServiceNames()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
protected:
- virtual ~VCLXAccessibleListBox (void);
+ virtual ~VCLXAccessibleListBox();
- virtual bool IsValid (void) const SAL_OVERRIDE;
+ virtual bool IsValid() const SAL_OVERRIDE;
virtual void ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent) SAL_OVERRIDE;
};
diff --git a/accessibility/inc/accessibility/standard/vclxaccessiblelistitem.hxx b/accessibility/inc/accessibility/standard/vclxaccessiblelistitem.hxx
index a77dcc2c8775..87db9bea130f 100644
--- a/accessibility/inc/accessibility/standard/vclxaccessiblelistitem.hxx
+++ b/accessibility/inc/accessibility/standard/vclxaccessiblelistitem.hxx
@@ -156,8 +156,8 @@ public:
virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual ::com::sun::star::awt::Size SAL_CALL getSize( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL grabFocus( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual sal_Int32 SAL_CALL getForeground (void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual sal_Int32 SAL_CALL getBackground (void) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual sal_Int32 SAL_CALL getForeground() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual sal_Int32 SAL_CALL getBackground() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XAccessibleText
virtual sal_Int32 SAL_CALL getCaretPosition() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
diff --git a/accessibility/inc/accessibility/standard/vclxaccessibletextfield.hxx b/accessibility/inc/accessibility/standard/vclxaccessibletextfield.hxx
index 64947ac49dbe..75aae851352e 100644
--- a/accessibility/inc/accessibility/standard/vclxaccessibletextfield.hxx
+++ b/accessibility/inc/accessibility/standard/vclxaccessibletextfield.hxx
@@ -52,36 +52,36 @@ public:
// XAccessible
::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessibleContext> SAL_CALL
- getAccessibleContext (void)
+ getAccessibleContext()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XAccessibleContext
- sal_Int32 SAL_CALL getAccessibleChildCount (void)
+ sal_Int32 SAL_CALL getAccessibleChildCount()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL
getAccessibleChild (sal_Int32 i)
throw (::com::sun::star::lang::IndexOutOfBoundsException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- sal_Int16 SAL_CALL getAccessibleRole (void)
+ sal_Int16 SAL_CALL getAccessibleRole()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible > SAL_CALL
getAccessibleParent( )
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName (void)
+ virtual OUString SAL_CALL getImplementationName()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// Return text field specific services.
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL
- getSupportedServiceNames (void)
+ getSupportedServiceNames()
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
protected:
- virtual ~VCLXAccessibleTextField (void);
+ virtual ~VCLXAccessibleTextField();
/** With this method the text of the currently selected item is made
available to the <type>VCLXAccessibleTextComponent</type> base class.
*/
- OUString implGetText (void) SAL_OVERRIDE;
+ OUString implGetText() SAL_OVERRIDE;
private:
/** We need to save the accessible parent to return it in <type>getAccessibleParent()</type>,