summaryrefslogtreecommitdiff
path: root/chart2/source/tools/RegressionEquation.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/tools/RegressionEquation.cxx')
-rw-r--r--chart2/source/tools/RegressionEquation.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/chart2/source/tools/RegressionEquation.cxx b/chart2/source/tools/RegressionEquation.cxx
index d4140691053c..927b06d4b0e9 100644
--- a/chart2/source/tools/RegressionEquation.cxx
+++ b/chart2/source/tools/RegressionEquation.cxx
@@ -285,13 +285,13 @@ void RegressionEquation::fireModifyEvent()
// ____ XTitle ____
uno::Sequence< uno::Reference< chart2::XFormattedString > > SAL_CALL RegressionEquation::getText()
{
- MutexGuard aGuard( GetMutex() );
+ MutexGuard aGuard( m_aMutex );
return m_aStrings;
}
void SAL_CALL RegressionEquation::setText( const uno::Sequence< uno::Reference< chart2::XFormattedString > >& Strings )
{
- MutexGuard aGuard( GetMutex() );
+ MutexGuard aGuard( m_aMutex );
ModifyListenerHelper::removeListenerFromAllElements(
ContainerHelper::SequenceToVector( m_aStrings ), m_xModifyEventForwarder );
m_aStrings = Strings;