diff options
Diffstat (limited to 'sw/source/uibase/docvw/SidebarTxtControlAcc.cxx')
-rw-r--r-- | sw/source/uibase/docvw/SidebarTxtControlAcc.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sw/source/uibase/docvw/SidebarTxtControlAcc.cxx b/sw/source/uibase/docvw/SidebarTxtControlAcc.cxx index 7cab19c264d5..7529bdbfe027 100644 --- a/sw/source/uibase/docvw/SidebarTxtControlAcc.cxx +++ b/sw/source/uibase/docvw/SidebarTxtControlAcc.cxx @@ -146,7 +146,6 @@ class SidebarTextControlAccessibleContext : public VCLXAccessibleComponent virtual void ProcessWindowEvent( const VclWindowEvent& rVclWindowEvent ) override; private: - SidebarTextControl& mrSidebarTextControl; ::accessibility::AccessibleTextHelper* mpAccessibleTextHelper; ::osl::Mutex maMutex; @@ -156,12 +155,11 @@ class SidebarTextControlAccessibleContext : public VCLXAccessibleComponent SidebarTextControlAccessibleContext::SidebarTextControlAccessibleContext( SidebarTextControl& rSidebarTextControl ) : VCLXAccessibleComponent( rSidebarTextControl.GetWindowPeer() ) - , mrSidebarTextControl( rSidebarTextControl ) , mpAccessibleTextHelper( nullptr ) , maMutex() { - mpAccessibleTextHelper = new ::accessibility::AccessibleTextHelper( o3tl::make_unique<SidebarTextEditSource>(mrSidebarTextControl) ); - mpAccessibleTextHelper->SetEventSource( mrSidebarTextControl.GetWindowPeer() ); + mpAccessibleTextHelper = new ::accessibility::AccessibleTextHelper( o3tl::make_unique<SidebarTextEditSource>(rSidebarTextControl) ); + mpAccessibleTextHelper->SetEventSource( rSidebarTextControl.GetWindowPeer() ); } SidebarTextControlAccessibleContext::~SidebarTextControlAccessibleContext() |