summaryrefslogtreecommitdiff
path: root/chart2/source/model/main/Axis.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-05-09 15:31:55 +0200
committerStephan Bergmann <sbergman@redhat.com>2019-05-10 08:22:25 +0200
commit38371d01e0240825f6d8d419214f50bc193e3e6b (patch)
treea604a31221726bc7a9ad2d92cac0400117f75099 /chart2/source/model/main/Axis.cxx
parentc302027510adb13a2d34d863e417460375588c4b (diff)
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 <sbergman@redhat.com>
Diffstat (limited to 'chart2/source/model/main/Axis.cxx')
-rw-r--r--chart2/source/model/main/Axis.cxx4
1 files changed, 2 insertions, 2 deletions
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;