[Libreoffice-commits] core.git: Branch 'libreoffice-5-1' - chart2/source

Markus Mohrhard markus.mohrhard at googlemail.com
Tue Apr 12 12:04:41 UTC 2016


 chart2/source/controller/sidebar/ChartAreaPanel.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 44d5d9fdb3f35ae09f7e9938609553cd3a4c4412
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date:   Mon Apr 4 18:00:31 2016 +0200

    tdf#99069: lock the solar mutex before updating sidebar
    
    Change-Id: I55808b72bcebab95ead3e140c9da94596826c27d
    Reviewed-on: https://gerrit.libreoffice.org/23811
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
    Reviewed-on: https://gerrit.libreoffice.org/23813
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>

diff --git a/chart2/source/controller/sidebar/ChartAreaPanel.cxx b/chart2/source/controller/sidebar/ChartAreaPanel.cxx
index 1039214..09d0b2c 100644
--- a/chart2/source/controller/sidebar/ChartAreaPanel.cxx
+++ b/chart2/source/controller/sidebar/ChartAreaPanel.cxx
@@ -18,6 +18,7 @@
 #include <svx/xfltrit.hxx>
 #include <svx/xflftrit.hxx>
 #include <svx/unomid.hxx>
+#include <vcl/svapp.hxx>
 
 #include <svx/tbcontrl.hxx>
 
@@ -391,6 +392,7 @@ void ChartAreaPanel::updateData()
     if (!xInfo.is())
         return;
 
+    SolarMutexGuard aGuard;
     if (xInfo->hasPropertyByName("FillStyle"))
     {
         css::drawing::FillStyle eFillStyle = css::drawing::FillStyle_SOLID;


More information about the Libreoffice-commits mailing list