diff options
author | Arnaud Versini <arnaud.versini@gmail.com> | 2017-07-02 11:55:59 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-08 20:14:23 +0200 |
commit | a758956bb5fce66d1590109f3ce5593ac25967d8 (patch) | |
tree | 008b641ac15c0b9eb573dbeea60da829f89082bf /accessibility/inc | |
parent | 991346d570713c230a81485c55e29318c2cc175d (diff) |
accessbility: Don't double lock mutexes in VCLXAccessibleEdit.
Also simplify this class.
Change-Id: I7abccd19287101918a6d9b4636ce2faecf169123
Reviewed-on: https://gerrit.libreoffice.org/39446
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'accessibility/inc')
-rw-r--r-- | accessibility/inc/standard/vclxaccessibleedit.hxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/accessibility/inc/standard/vclxaccessibleedit.hxx b/accessibility/inc/standard/vclxaccessibleedit.hxx index f0aaf6492de8..8e0c6635d566 100644 --- a/accessibility/inc/standard/vclxaccessibleedit.hxx +++ b/accessibility/inc/standard/vclxaccessibleedit.hxx @@ -34,15 +34,14 @@ typedef ::cppu::ImplHelper2< css::accessibility::XAccessibleAction, css::accessibility::XAccessibleEditableText > VCLXAccessibleEdit_BASE; -class VCLXAccessibleEdit : public VCLXAccessibleTextComponent, - public VCLXAccessibleEdit_BASE +class VCLXAccessibleEdit final : public VCLXAccessibleTextComponent, + public VCLXAccessibleEdit_BASE { friend class VCLXAccessibleBox; private: sal_Int32 m_nCaretPosition; -protected: virtual ~VCLXAccessibleEdit() override; virtual void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) override; |