summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-04-04 18:00:31 +0200
committerEike Rathke <erack@redhat.com>2016-04-12 12:04:22 +0000
commit44d5d9fdb3f35ae09f7e9938609553cd3a4c4412 (patch)
tree491d27b3d251ae37a97051b71fe9911a082fb48a /chart2
parent883326c3e175a53a567a32806f77489c8f942d40 (diff)
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@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-on: https://gerrit.libreoffice.org/23813 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/sidebar/ChartAreaPanel.cxx2
1 files changed, 2 insertions, 0 deletions
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 <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;