diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2021-12-25 21:10:40 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-12-27 08:00:06 +0100 |
commit | 60625112f53014b296fe3f26198408f9795ad935 (patch) | |
tree | a1e05dd915b48ff826eb7620f0904a19d0b1ad8e /sc/source/ui/unoobj | |
parent | e056276600dc9a9e0ac649c995c3af7a42cbee4e (diff) |
use comphelper::WeakComponentImplHelper in ScChartRangeSelectionListener
Change-Id: I1efac3114b3661ce1d65974d828af7715d5a0d74
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127530
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/unoobj')
-rw-r--r-- | sc/source/ui/unoobj/ChartRangeSelectionListener.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/ChartRangeSelectionListener.cxx b/sc/source/ui/unoobj/ChartRangeSelectionListener.cxx index 696258a8bcf0..eae58aee6f7a 100644 --- a/sc/source/ui/unoobj/ChartRangeSelectionListener.cxx +++ b/sc/source/ui/unoobj/ChartRangeSelectionListener.cxx @@ -34,7 +34,6 @@ SC_SIMPLE_SERVICE_INFO( ScChartRangeSelectionListener, "ScChartRangeSelectionLis SC_SERVICENAME_CHRANGEHILIGHT ) ScChartRangeSelectionListener::ScChartRangeSelectionListener( ScTabViewShell * pViewShell ) : - ScChartRangeSelectionListener_Base( m_aMutex ), m_pViewShell( pViewShell ) {} @@ -64,7 +63,7 @@ void SAL_CALL ScChartRangeSelectionListener::disposing( const lang::EventObject& } // ____ WeakComponentImplHelperBase ____ -void SAL_CALL ScChartRangeSelectionListener::disposing() +void ScChartRangeSelectionListener::disposing(std::unique_lock<std::mutex>&) { m_pViewShell = nullptr; } |