diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2019-05-09 15:31:55 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2019-05-10 08:22:25 +0200 |
commit | 38371d01e0240825f6d8d419214f50bc193e3e6b (patch) | |
tree | a604a31221726bc7a9ad2d92cac0400117f75099 /chart2/source/model/main/FormattedString.cxx | |
parent | c302027510adb13a2d34d863e417460375588c4b (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/FormattedString.cxx')
-rw-r--r-- | chart2/source/model/main/FormattedString.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/chart2/source/model/main/FormattedString.cxx b/chart2/source/model/main/FormattedString.cxx index 3c5f5a0cb0a0..f7d34282137b 100644 --- a/chart2/source/model/main/FormattedString.cxx +++ b/chart2/source/model/main/FormattedString.cxx @@ -124,14 +124,14 @@ uno::Reference< util::XCloneable > SAL_CALL FormattedString::createClone() // ____ XFormattedString ____ OUString SAL_CALL FormattedString::getString() { - MutexGuard aGuard( GetMutex()); + MutexGuard aGuard( m_aMutex); return m_aString; } void SAL_CALL FormattedString::setString( const OUString& String ) { { - MutexGuard aGuard( GetMutex()); + MutexGuard aGuard( m_aMutex); m_aString = String; } //don't keep the mutex locked while calling out @@ -142,7 +142,7 @@ void SAL_CALL FormattedString::setString( const OUString& String ) // ____ XDataPointCustomLabelField ____ css::chart2::DataPointCustomLabelFieldType SAL_CALL FormattedString::getFieldType() { - MutexGuard aGuard(GetMutex()); + MutexGuard aGuard(m_aMutex); return m_aType; } @@ -150,7 +150,7 @@ void SAL_CALL FormattedString::setFieldType(const css::chart2::DataPointCustomLabelFieldType Type) { { - MutexGuard aGuard(GetMutex()); + MutexGuard aGuard(m_aMutex); m_aType = Type; } //don't keep the mutex locked while calling out @@ -159,14 +159,14 @@ FormattedString::setFieldType(const css::chart2::DataPointCustomLabelFieldType T OUString SAL_CALL FormattedString::getGuid() { - MutexGuard aGuard( GetMutex()); + MutexGuard aGuard( m_aMutex); return m_aGuid; } void SAL_CALL FormattedString::setGuid( const OUString& guid ) { { - MutexGuard aGuard( GetMutex()); + MutexGuard aGuard( m_aMutex); m_aGuid= guid; } //don't keep the mutex locked while calling out |