summaryrefslogtreecommitdiffstats
path: root/chart2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-04-04 18:00:31 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-04-04 17:09:55 +0000
commit3ada44f631490f8910ce0bcf55353f70d7d0df6d (patch)
tree26e4446a1cdca46bf0690a43b0b1a79337c0da33 /chart2
parent...and MSVC "warning C4701: potentially uninitialized local variable used" (diff)
downloadcore-3ada44f631490f8910ce0bcf55353f70d7d0df6d.tar.gz
core-3ada44f631490f8910ce0bcf55353f70d7d0df6d.zip
tdf99069: 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>
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;