summaryrefslogtreecommitdiff
path: root/accessibility/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-01-20 12:38:10 +0200
committerNoel Grandin <noel@peralex.com>2015-01-26 08:42:28 +0200
commitb44cbb26efe1d0b0950b1e1613e131b506dc3876 (patch)
tree9b4d5d99e5dad0971079b997a02a6d96536709ca /accessibility/inc
parent26ad60aec69310fecd918f1c2e09056aa4782320 (diff)
new loplugin: change virtual methods to non-virtual
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
Diffstat (limited to 'accessibility/inc')
-rw-r--r--accessibility/inc/accessibility/extended/AccessibleBrowseBox.hxx2
-rw-r--r--accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx2
-rw-r--r--accessibility/inc/accessibility/extended/AccessibleGridControl.hxx4
-rw-r--r--accessibility/inc/accessibility/extended/AccessibleGridControlBase.hxx2
-rw-r--r--accessibility/inc/accessibility/extended/AccessibleGridControlHeader.hxx4
-rw-r--r--accessibility/inc/accessibility/extended/accessibletabbar.hxx2
-rw-r--r--accessibility/inc/accessibility/extended/accessibletabbarpage.hxx2
-rw-r--r--accessibility/inc/accessibility/extended/accessibletabbarpagelist.hxx2
-rw-r--r--accessibility/inc/accessibility/extended/listboxaccessible.hxx2
-rw-r--r--accessibility/inc/accessibility/standard/accessiblemenubasecomponent.hxx2
-rw-r--r--accessibility/inc/accessibility/standard/vclxaccessiblelist.hxx10
-rw-r--r--accessibility/inc/accessibility/standard/vclxaccessiblemenubar.hxx2
-rw-r--r--accessibility/inc/accessibility/standard/vclxaccessiblestatusbaritem.hxx2
-rw-r--r--accessibility/inc/accessibility/standard/vclxaccessibletabpage.hxx2
-rw-r--r--accessibility/inc/accessibility/standard/vclxaccessibletoolboxitem.hxx2
15 files changed, 21 insertions, 21 deletions
diff --git a/accessibility/inc/accessibility/extended/AccessibleBrowseBox.hxx b/accessibility/inc/accessibility/extended/AccessibleBrowseBox.hxx
index 591dc6adea0c..b1fd3116519c 100644
--- a/accessibility/inc/accessibility/extended/AccessibleBrowseBox.hxx
+++ b/accessibility/inc/accessibility/extended/AccessibleBrowseBox.hxx
@@ -161,7 +161,7 @@ protected:
/** This method creates (once) and returns the accessible data table child.
@attention This method requires locked mutex's and a living object.
@return The XAccessible interface of the data table. */
- virtual ::com::sun::star::uno::Reference<
+ ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessible > implGetTable();
/** This method creates (once) and returns the specified header bar.
diff --git a/accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx b/accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx
index a10356fe276f..f01ffbf6c23c 100644
--- a/accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx
+++ b/accessibility/inc/accessibility/extended/AccessibleBrowseBoxBase.hxx
@@ -278,7 +278,7 @@ protected:
behaviour.
@attention This method requires locked mutex's and a living object.
@return <TRUE/>, if the object is really showing. */
- virtual bool implIsShowing();
+ bool implIsShowing();
/** Derived classes return the bounding box relative to the parent window.
@attention This method requires locked mutex's and a living object.
diff --git a/accessibility/inc/accessibility/extended/AccessibleGridControl.hxx b/accessibility/inc/accessibility/extended/AccessibleGridControl.hxx
index 32e7231b49e0..1430a011f806 100644
--- a/accessibility/inc/accessibility/extended/AccessibleGridControl.hxx
+++ b/accessibility/inc/accessibility/extended/AccessibleGridControl.hxx
@@ -149,7 +149,7 @@ protected:
/** This method creates (once) and returns the accessible data table child.
@attention This method requires locked mutex's and a living object.
@return The XAccessible interface of the data table. */
- virtual ::com::sun::star::uno::Reference<
+ ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessible > implGetTable();
/** This method creates (once) and returns the specified header bar.
@@ -169,7 +169,7 @@ protected:
/** This method creates and returns an accessible table.
@return An AccessibleGridControlTable. */
- virtual AccessibleGridControlTable* createAccessibleTable();
+ AccessibleGridControlTable* createAccessibleTable();
private:
// members ----------------------------------------------------------------
diff --git a/accessibility/inc/accessibility/extended/AccessibleGridControlBase.hxx b/accessibility/inc/accessibility/extended/AccessibleGridControlBase.hxx
index 93b4da974f31..ddc127fe9fd4 100644
--- a/accessibility/inc/accessibility/extended/AccessibleGridControlBase.hxx
+++ b/accessibility/inc/accessibility/extended/AccessibleGridControlBase.hxx
@@ -243,7 +243,7 @@ protected:
behaviour.
@attention This method requires locked mutex's and a living object.
@return <TRUE/>, if the object is really showing. */
- virtual bool implIsShowing();
+ bool implIsShowing();
/** Derived classes return the bounding box relative to the parent window.
@attention This method requires locked mutex's and a living object.
diff --git a/accessibility/inc/accessibility/extended/AccessibleGridControlHeader.hxx b/accessibility/inc/accessibility/extended/AccessibleGridControlHeader.hxx
index b6de9cd32f64..6259d29cf97e 100644
--- a/accessibility/inc/accessibility/extended/AccessibleGridControlHeader.hxx
+++ b/accessibility/inc/accessibility/extended/AccessibleGridControlHeader.hxx
@@ -171,10 +171,10 @@ protected:
/** @attention This method requires locked mutex's and a living object.
@return The count of used rows. */
- virtual sal_Int32 implGetRowCount() const;
+ sal_Int32 implGetRowCount() const;
/** @attention This method requires locked mutex's and a living object.
@return The count of used columns. */
- virtual sal_Int32 implGetColumnCount() const;
+ sal_Int32 implGetColumnCount() const;
// internal helper methods ------------------------------------------------
diff --git a/accessibility/inc/accessibility/extended/accessibletabbar.hxx b/accessibility/inc/accessibility/extended/accessibletabbar.hxx
index 746b544f9e7b..61dc631daf37 100644
--- a/accessibility/inc/accessibility/extended/accessibletabbar.hxx
+++ b/accessibility/inc/accessibility/extended/accessibletabbar.hxx
@@ -54,7 +54,7 @@ namespace accessibility
protected:
virtual void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) SAL_OVERRIDE;
- virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet );
+ void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet );
// OCommonAccessibleComponent
virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
diff --git a/accessibility/inc/accessibility/extended/accessibletabbarpage.hxx b/accessibility/inc/accessibility/extended/accessibletabbarpage.hxx
index c13b5a7e4393..bdadbf782881 100644
--- a/accessibility/inc/accessibility/extended/accessibletabbarpage.hxx
+++ b/accessibility/inc/accessibility/extended/accessibletabbarpage.hxx
@@ -70,7 +70,7 @@ namespace accessibility
sal_uInt16 GetPageId() const { return m_nPageId; }
- virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet );
+ void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet );
// OCommonAccessibleComponent
virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
diff --git a/accessibility/inc/accessibility/extended/accessibletabbarpagelist.hxx b/accessibility/inc/accessibility/extended/accessibletabbarpagelist.hxx
index fd0ac5288e15..a20e7d1de938 100644
--- a/accessibility/inc/accessibility/extended/accessibletabbarpagelist.hxx
+++ b/accessibility/inc/accessibility/extended/accessibletabbarpagelist.hxx
@@ -66,7 +66,7 @@ namespace accessibility
void MoveChild( sal_Int32 i, sal_Int32 j );
virtual void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) SAL_OVERRIDE;
- virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet );
+ void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet );
// OCommonAccessibleComponent
virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
diff --git a/accessibility/inc/accessibility/extended/listboxaccessible.hxx b/accessibility/inc/accessibility/extended/listboxaccessible.hxx
index 1140c81f69c5..0a5f1c22985a 100644
--- a/accessibility/inc/accessibility/extended/listboxaccessible.hxx
+++ b/accessibility/inc/accessibility/extended/listboxaccessible.hxx
@@ -59,7 +59,7 @@ namespace accessibility
// own overridables
/// will be called for any VclWindowEvent events broadcasted by our VCL window
- virtual void ProcessWindowEvent( const VclWindowEvent& _rVclWindowEvent );
+ void ProcessWindowEvent( const VclWindowEvent& _rVclWindowEvent );
/** will be called when our window broadcasts the VCLEVENT_OBJECT_DYING event
diff --git a/accessibility/inc/accessibility/standard/accessiblemenubasecomponent.hxx b/accessibility/inc/accessibility/standard/accessiblemenubasecomponent.hxx
index 07703788385c..3a2b6b9aa950 100644
--- a/accessibility/inc/accessibility/standard/accessiblemenubasecomponent.hxx
+++ b/accessibility/inc/accessibility/standard/accessiblemenubasecomponent.hxx
@@ -116,7 +116,7 @@ protected:
DECL_LINK( MenuEventListener, VclSimpleEvent* );
- virtual void ProcessMenuEvent( const VclMenuEvent& rVclMenuEvent );
+ void ProcessMenuEvent( const VclMenuEvent& rVclMenuEvent );
virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) = 0;
diff --git a/accessibility/inc/accessibility/standard/vclxaccessiblelist.hxx b/accessibility/inc/accessibility/standard/vclxaccessiblelist.hxx
index efbb80c5a762..4c04432a7382 100644
--- a/accessibility/inc/accessibility/standard/vclxaccessiblelist.hxx
+++ b/accessibility/inc/accessibility/standard/vclxaccessiblelist.hxx
@@ -111,9 +111,9 @@ public:
throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XAccessibleComponent
- virtual bool SAL_CALL contains (const ::com::sun::star::awt::Point& aPoint)
+ bool SAL_CALL contains (const ::com::sun::star::awt::Point& aPoint)
throw (::com::sun::star::uno::RuntimeException);
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL
+ ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible> SAL_CALL
getAccessibleAt (const ::com::sun::star::awt::Point& aPoint)
throw (::com::sun::star::uno::RuntimeException);
@@ -138,7 +138,7 @@ public:
virtual ::com::sun::star::awt::Point SAL_CALL getLocationOnScreen( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
bool IsInDropDown();
void HandleDropOpen();
- virtual void ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent, bool b_IsDropDownList);
+ void ProcessWindowEvent (const VclWindowEvent& rVclWindowEvent, bool b_IsDropDownList);
void UpdateSelection_Acc (const ::rtl::OUString& sTextOfSelectedItem, bool b_IsDropDownList);
void UpdateSelection_Impl_Acc (bool b_IsDropDownList);
@@ -179,7 +179,7 @@ protected:
/** Create the specified child and insert it into the list of children.
Sets the child's states.
*/
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >
+ ::com::sun::star::uno::Reference< ::com::sun::star::accessibility::XAccessible >
CreateChild (sal_Int32 i);
/** Call this method when the item list has been changed, i.e. items
@@ -191,7 +191,7 @@ protected:
Index of the new or removed item. A value of -1 indicates that
the whole list has been cleared.
*/
- virtual void HandleChangedItemList (bool bItemInserted, sal_Int32 nIndex);
+ void HandleChangedItemList (bool bItemInserted, sal_Int32 nIndex);
// VCLXAccessibleComponent
virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
diff --git a/accessibility/inc/accessibility/standard/vclxaccessiblemenubar.hxx b/accessibility/inc/accessibility/standard/vclxaccessiblemenubar.hxx
index a792d51cccad..2ca6def7ba42 100644
--- a/accessibility/inc/accessibility/standard/vclxaccessiblemenubar.hxx
+++ b/accessibility/inc/accessibility/standard/vclxaccessiblemenubar.hxx
@@ -40,7 +40,7 @@ protected:
DECL_LINK( WindowEventListener, VclSimpleEvent* );
- virtual void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent );
+ void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent );
// XComponent
virtual void SAL_CALL disposing() SAL_OVERRIDE;
diff --git a/accessibility/inc/accessibility/standard/vclxaccessiblestatusbaritem.hxx b/accessibility/inc/accessibility/standard/vclxaccessiblestatusbaritem.hxx
index cd3edc5b8d64..f720374f3af5 100644
--- a/accessibility/inc/accessibility/standard/vclxaccessiblestatusbaritem.hxx
+++ b/accessibility/inc/accessibility/standard/vclxaccessiblestatusbaritem.hxx
@@ -66,7 +66,7 @@ protected:
OUString GetItemText();
sal_uInt16 GetItemId() const { return m_nItemId; }
- virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet );
+ void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet );
// OCommonAccessibleComponent
virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
diff --git a/accessibility/inc/accessibility/standard/vclxaccessibletabpage.hxx b/accessibility/inc/accessibility/standard/vclxaccessibletabpage.hxx
index 4d6c8803422c..182235a0ad12 100644
--- a/accessibility/inc/accessibility/standard/vclxaccessibletabpage.hxx
+++ b/accessibility/inc/accessibility/standard/vclxaccessibletabpage.hxx
@@ -70,7 +70,7 @@ protected:
sal_uInt16 GetPageId() const { return m_nPageId; }
- virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet );
+ void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet );
// OCommonAccessibleComponent
virtual ::com::sun::star::awt::Rectangle implGetBounds( ) throw (::com::sun::star::uno::RuntimeException) SAL_OVERRIDE;
diff --git a/accessibility/inc/accessibility/standard/vclxaccessibletoolboxitem.hxx b/accessibility/inc/accessibility/standard/vclxaccessibletoolboxitem.hxx
index bda39ccf0dfd..1b7972ab7c14 100644
--- a/accessibility/inc/accessibility/standard/vclxaccessibletoolboxitem.hxx
+++ b/accessibility/inc/accessibility/standard/vclxaccessibletoolboxitem.hxx
@@ -134,7 +134,7 @@ public:
// XAccessibleExtendedComponent
virtual ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFont > SAL_CALL getFont( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual ::com::sun::star::awt::FontDescriptor SAL_CALL getFontMetrics( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFont >& xFont ) throw (::com::sun::star::uno::RuntimeException);
+ ::com::sun::star::awt::FontDescriptor SAL_CALL getFontMetrics( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XFont >& xFont ) throw (::com::sun::star::uno::RuntimeException);
virtual OUString SAL_CALL getTitledBorderText( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual OUString SAL_CALL getToolTipText( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;