[Libreoffice-commits] core.git: chart2/source

Tamás Zolnai tamas.zolnai at collabora.com
Thu Jan 5 03:22:27 UTC 2017


 chart2/source/controller/dialogs/tp_ChartType.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 5af78ee8dfcb05319ec3a8f9df9c12b9a2b30539
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
Date:   Thu Jan 5 04:22:05 2017 +0100

    This lock seems useless
    
    m_pCurrentMainType->commitToModel creates the same lock.
    
    Change-Id: Iaecf6b3392ce7b1371623f962b0fdc58f8ddaa07

diff --git a/chart2/source/controller/dialogs/tp_ChartType.cxx b/chart2/source/controller/dialogs/tp_ChartType.cxx
index 46d14e0..5f36658 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 );
 }
 


More information about the Libreoffice-commits mailing list