From 5af78ee8dfcb05319ec3a8f9df9c12b9a2b30539 Mon Sep 17 00:00:00 2001 From: Tamás Zolnai Date: Thu, 5 Jan 2017 04:22:05 +0100 Subject: This lock seems useless m_pCurrentMainType->commitToModel creates the same lock. Change-Id: Iaecf6b3392ce7b1371623f962b0fdc58f8ddaa07 --- chart2/source/controller/dialogs/tp_ChartType.cxx | 1 - 1 file changed, 1 deletion(-) diff --git a/chart2/source/controller/dialogs/tp_ChartType.cxx b/chart2/source/controller/dialogs/tp_ChartType.cxx index 46d14e01d11e..5f36658e05c2 100644 --- a/chart2/source/controller/dialogs/tp_ChartType.cxx +++ b/chart2/source/controller/dialogs/tp_ChartType.cxx @@ -812,7 +812,6 @@ void ChartTypeTabPage::commitToModel( const ChartTypeParameter& rParameter ) return; m_aTimerTriggeredControllerLock.startTimer(); - ControllerLockGuardUNO aLockedControllers( uno::Reference< frame::XModel >( m_xChartModel, uno::UNO_QUERY ) ); m_pCurrentMainType->commitToModel( rParameter, m_xChartModel ); } -- cgit