diff options
author | Arnaud Versini <Arnaud.Versini@libreoffice.org> | 2017-07-23 16:25:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-09-15 11:28:21 +0200 |
commit | 5d060fd07a16c80bd94d27b08fefe1d0aaf418f7 (patch) | |
tree | 38801d4f83a905409de9a85871ac3f8f012465f2 /accessibility/inc/standard/vclxaccessibletoolboxitem.hxx | |
parent | 359201c9b4ad26fd445688de2c9a1d15f253d37d (diff) |
accessibility: remove useless calls to virtual methods.
This also removes a lot of useless recursive locks.
Change-Id: Ifee7dbf2095bf0431eb27e8022e7f5299c46388f
Reviewed-on: https://gerrit.libreoffice.org/42122
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'accessibility/inc/standard/vclxaccessibletoolboxitem.hxx')
-rw-r--r-- | accessibility/inc/standard/vclxaccessibletoolboxitem.hxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/accessibility/inc/standard/vclxaccessibletoolboxitem.hxx b/accessibility/inc/standard/vclxaccessibletoolboxitem.hxx index fd455b025507..6a8836f13f94 100644 --- a/accessibility/inc/standard/vclxaccessibletoolboxitem.hxx +++ b/accessibility/inc/standard/vclxaccessibletoolboxitem.hxx @@ -41,8 +41,8 @@ typedef ::cppu::ImplHelper4 < css::accessibility::XAccessible, css::accessibility::XAccessibleValue, css::lang::XServiceInfo > VCLXAccessibleToolBoxItem_BASE; -class VCLXAccessibleToolBoxItem : public AccessibleTextHelper_BASE, - public VCLXAccessibleToolBoxItem_BASE +class VCLXAccessibleToolBoxItem final : public AccessibleTextHelper_BASE, + public VCLXAccessibleToolBoxItem_BASE { private: OUString m_sOldName; @@ -55,12 +55,13 @@ private: bool m_bIndeterminate; css::uno::Reference< css::accessibility::XAccessible > m_xChild; + OUString GetText(); public: sal_Int32 getIndexInParent() const { return m_nIndexInParent; } void setIndexInParent( sal_Int32 _nNewIndex ) { m_nIndexInParent = _nNewIndex; } -protected: +private: virtual ~VCLXAccessibleToolBoxItem() override; virtual void SAL_CALL disposing() override; @@ -73,8 +74,6 @@ protected: virtual css::lang::Locale implGetLocale() override; virtual void implGetSelection( sal_Int32& nStartIndex, sal_Int32& nEndIndex ) override; - OUString GetText(); - public: VCLXAccessibleToolBoxItem( ToolBox* _pToolBox, sal_Int32 _nPos ); |