diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-04-04 18:00:31 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-04-04 17:09:55 +0000 |
commit | 3ada44f631490f8910ce0bcf55353f70d7d0df6d (patch) | |
tree | 26e4446a1cdca46bf0690a43b0b1a79337c0da33 /chart2 | |
parent | 17b4b5d0b22a8ea958b5f799430170c1dde72332 (diff) |
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.cxx | 2 |
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; |