From 38371d01e0240825f6d8d419214f50bc193e3e6b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 9 May 2019 15:31:55 +0200 Subject: Consolidate MutexContainer GetMutex() vs. direct m_aMutex access ...at which point MutexContainer becomes all-inline and need no longer be OOO_DLLPUBLIC_CHARTTOOLS Change-Id: I2f9c089a1189cc8c0fe5cf1760f62e71c5bb7f51 Reviewed-on: https://gerrit.libreoffice.org/72052 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- chart2/source/model/main/Axis.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chart2/source/model/main/Axis.cxx') diff --git a/chart2/source/model/main/Axis.cxx b/chart2/source/model/main/Axis.cxx index c97ff290c245..0de39f48ba0e 100644 --- a/chart2/source/model/main/Axis.cxx +++ b/chart2/source/model/main/Axis.cxx @@ -482,7 +482,7 @@ Sequence< Reference< beans::XPropertySet > > SAL_CALL Axis::getSubTickProperties // ____ XTitled ____ Reference< chart2::XTitle > SAL_CALL Axis::getTitleObject() { - MutexGuard aGuard( GetMutex() ); + MutexGuard aGuard( m_aMutex ); return m_xTitle; } @@ -491,7 +491,7 @@ void SAL_CALL Axis::setTitleObject( const Reference< chart2::XTitle >& xNewTitle Reference< util::XModifyListener > xModifyEventForwarder; Reference< chart2::XTitle > xOldTitle; { - MutexGuard aGuard( GetMutex() ); + MutexGuard aGuard( m_aMutex ); xOldTitle = m_xTitle; xModifyEventForwarder = m_xModifyEventForwarder; m_xTitle = xNewTitle; -- cgit v1.2.3