diff options
author | Arnaud Versini <arnaud.versini@libreoffice.org> | 2018-02-06 11:18:44 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-18 16:56:08 +0100 |
commit | 861f819d1b1a1ee4a8a15ec26cdd20121fd03ddf (patch) | |
tree | 58e033859b9521705be207c2903945c0edec742c /accessibility/inc/standard | |
parent | 0679691db053acaa3ca2aa633a56d108f2e5bb85 (diff) |
Accessibility : cleanup constructors and destructors.
Change-Id: I63f94f4bb3865d0c2d211567588343e08878342c
Reviewed-on: https://gerrit.libreoffice.org/49282
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'accessibility/inc/standard')
12 files changed, 10 insertions, 15 deletions
diff --git a/accessibility/inc/standard/accessiblemenucomponent.hxx b/accessibility/inc/standard/accessiblemenucomponent.hxx index f2ef7294ba8e..bd2953bf77dd 100644 --- a/accessibility/inc/standard/accessiblemenucomponent.hxx +++ b/accessibility/inc/standard/accessiblemenucomponent.hxx @@ -44,7 +44,6 @@ protected: public: OAccessibleMenuComponent( Menu* pMenu ); - virtual ~OAccessibleMenuComponent() override; // XInterface DECLARE_XINTERFACE() diff --git a/accessibility/inc/standard/vclxaccessiblebox.hxx b/accessibility/inc/standard/vclxaccessiblebox.hxx index c632e2d99d38..5b5f46ae6f39 100644 --- a/accessibility/inc/standard/vclxaccessiblebox.hxx +++ b/accessibility/inc/standard/vclxaccessiblebox.hxx @@ -142,7 +142,7 @@ protected: */ bool m_bHasListChild; - virtual ~VCLXAccessibleBox() override; + virtual ~VCLXAccessibleBox() override = default; /** Returns true when the object is valid. */ diff --git a/accessibility/inc/standard/vclxaccessiblebutton.hxx b/accessibility/inc/standard/vclxaccessiblebutton.hxx index af9e49c4a938..9fb63b3b5088 100644 --- a/accessibility/inc/standard/vclxaccessiblebutton.hxx +++ b/accessibility/inc/standard/vclxaccessiblebutton.hxx @@ -39,7 +39,7 @@ class VCLXAccessibleButton : public VCLXAccessibleTextComponent, public VCLXAccessibleButton_BASE { protected: - virtual ~VCLXAccessibleButton() override; + virtual ~VCLXAccessibleButton() override = default; virtual void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) override; virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) override; diff --git a/accessibility/inc/standard/vclxaccessibleedit.hxx b/accessibility/inc/standard/vclxaccessibleedit.hxx index 8e0c6635d566..f41479c0ceef 100644 --- a/accessibility/inc/standard/vclxaccessibleedit.hxx +++ b/accessibility/inc/standard/vclxaccessibleedit.hxx @@ -42,7 +42,7 @@ class VCLXAccessibleEdit final : public VCLXAccessibleTextComponent, private: sal_Int32 m_nCaretPosition; - virtual ~VCLXAccessibleEdit() override; + virtual ~VCLXAccessibleEdit() override = default; virtual void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) override; virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) override; diff --git a/accessibility/inc/standard/vclxaccessiblefixedhyperlink.hxx b/accessibility/inc/standard/vclxaccessiblefixedhyperlink.hxx index 0cb1d2f96813..e0becd208b1d 100644 --- a/accessibility/inc/standard/vclxaccessiblefixedhyperlink.hxx +++ b/accessibility/inc/standard/vclxaccessiblefixedhyperlink.hxx @@ -29,7 +29,7 @@ class VCLXAccessibleFixedHyperlink : public VCLXAccessibleTextComponent { protected: - virtual ~VCLXAccessibleFixedHyperlink() override; + virtual ~VCLXAccessibleFixedHyperlink() override = default; public: VCLXAccessibleFixedHyperlink( VCLXWindow* pVCLXindow ); diff --git a/accessibility/inc/standard/vclxaccessiblefixedtext.hxx b/accessibility/inc/standard/vclxaccessiblefixedtext.hxx index 98b70542f639..79f2c9940622 100644 --- a/accessibility/inc/standard/vclxaccessiblefixedtext.hxx +++ b/accessibility/inc/standard/vclxaccessiblefixedtext.hxx @@ -29,7 +29,7 @@ class VCLXAccessibleFixedText : public VCLXAccessibleTextComponent { protected: - virtual ~VCLXAccessibleFixedText() override; + virtual ~VCLXAccessibleFixedText() override = default; virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) override; diff --git a/accessibility/inc/standard/vclxaccessiblelistbox.hxx b/accessibility/inc/standard/vclxaccessiblelistbox.hxx index 47890c9378ca..af0b7af3d153 100644 --- a/accessibility/inc/standard/vclxaccessiblelistbox.hxx +++ b/accessibility/inc/standard/vclxaccessiblelistbox.hxx @@ -43,7 +43,7 @@ public: getSupportedServiceNames() override; protected: - virtual ~VCLXAccessibleListBox() override; + virtual ~VCLXAccessibleListBox() override = default; virtual bool IsValid() const override; }; diff --git a/accessibility/inc/standard/vclxaccessiblemenu.hxx b/accessibility/inc/standard/vclxaccessiblemenu.hxx index b44742c43866..7a7bb6f74b8f 100644 --- a/accessibility/inc/standard/vclxaccessiblemenu.hxx +++ b/accessibility/inc/standard/vclxaccessiblemenu.hxx @@ -41,8 +41,7 @@ protected: sal_Int32 implGetSelectedAccessibleChildCount(); public: - VCLXAccessibleMenu( Menu* pParent, sal_uInt16 nItemPos, Menu* pMenu ); - virtual ~VCLXAccessibleMenu() override; + using VCLXAccessibleMenuItem::VCLXAccessibleMenuItem; // XInterface DECLARE_XINTERFACE() diff --git a/accessibility/inc/standard/vclxaccessiblemenuitem.hxx b/accessibility/inc/standard/vclxaccessiblemenuitem.hxx index 41373b8e00c3..806c28728d65 100644 --- a/accessibility/inc/standard/vclxaccessiblemenuitem.hxx +++ b/accessibility/inc/standard/vclxaccessiblemenuitem.hxx @@ -57,7 +57,6 @@ protected: public: VCLXAccessibleMenuItem( Menu* pParent, sal_uInt16 nItemPos, Menu* pMenu = nullptr ); - virtual ~VCLXAccessibleMenuItem() override; // XInterface DECLARE_XINTERFACE() diff --git a/accessibility/inc/standard/vclxaccessiblemenuseparator.hxx b/accessibility/inc/standard/vclxaccessiblemenuseparator.hxx index 2b4a49b7473b..b5939b4d9dbe 100644 --- a/accessibility/inc/standard/vclxaccessiblemenuseparator.hxx +++ b/accessibility/inc/standard/vclxaccessiblemenuseparator.hxx @@ -30,7 +30,6 @@ class VCLXAccessibleMenuSeparator : public OAccessibleMenuItemComponent { public: VCLXAccessibleMenuSeparator( Menu* pParent, sal_uInt16 nItemPos ); - virtual ~VCLXAccessibleMenuSeparator() override; // XServiceInfo virtual OUString SAL_CALL getImplementationName() override; diff --git a/accessibility/inc/standard/vclxaccessiblepopupmenu.hxx b/accessibility/inc/standard/vclxaccessiblepopupmenu.hxx index e576189c0048..64978216c38e 100644 --- a/accessibility/inc/standard/vclxaccessiblepopupmenu.hxx +++ b/accessibility/inc/standard/vclxaccessiblepopupmenu.hxx @@ -32,8 +32,7 @@ protected: virtual bool IsFocused() override; public: - VCLXAccessiblePopupMenu( Menu* pMenu ); - virtual ~VCLXAccessiblePopupMenu() override; + using OAccessibleMenuComponent::OAccessibleMenuComponent; // XServiceInfo virtual OUString SAL_CALL getImplementationName() override; diff --git a/accessibility/inc/standard/vclxaccessibleradiobutton.hxx b/accessibility/inc/standard/vclxaccessibleradiobutton.hxx index a3643a61c6e9..9706ac2c0312 100644 --- a/accessibility/inc/standard/vclxaccessibleradiobutton.hxx +++ b/accessibility/inc/standard/vclxaccessibleradiobutton.hxx @@ -39,14 +39,14 @@ class VCLXAccessibleRadioButton : public VCLXAccessibleTextComponent, public VCLXAccessibleRadioButton_BASE { protected: - virtual ~VCLXAccessibleRadioButton() override; + virtual ~VCLXAccessibleRadioButton() override = default; virtual void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) override; virtual void FillAccessibleRelationSet( utl::AccessibleRelationSetHelper& rRelationSet ) override; virtual void FillAccessibleStateSet( utl::AccessibleStateSetHelper& rStateSet ) override; public: - VCLXAccessibleRadioButton( VCLXWindow* pVCLXindow ); + using VCLXAccessibleTextComponent::VCLXAccessibleTextComponent; // XInterface DECLARE_XINTERFACE() |