From 44d5d9fdb3f35ae09f7e9938609553cd3a4c4412 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Mon, 4 Apr 2016 18:00:31 +0200 Subject: tdf#99069: lock the solar mutex before updating sidebar Change-Id: I55808b72bcebab95ead3e140c9da94596826c27d Reviewed-on: https://gerrit.libreoffice.org/23811 Reviewed-by: Markus Mohrhard Tested-by: Markus Mohrhard Reviewed-on: https://gerrit.libreoffice.org/23813 Reviewed-by: Eike Rathke Tested-by: Eike Rathke --- chart2/source/controller/sidebar/ChartAreaPanel.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chart2/source/controller/sidebar/ChartAreaPanel.cxx b/chart2/source/controller/sidebar/ChartAreaPanel.cxx index 103921412d24..09d0b2c433c1 100644 --- a/chart2/source/controller/sidebar/ChartAreaPanel.cxx +++ b/chart2/source/controller/sidebar/ChartAreaPanel.cxx @@ -18,6 +18,7 @@ #include #include #include +#include #include @@ -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; -- cgit v1.2.3