summaryrefslogtreecommitdiffstats
path: root/chart2
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-10-10 16:21:29 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2015-10-10 16:21:29 +0200
commit5f73eae61e137b04afa805c8b50713006179a014 (patch)
treea3545eda85329a22c678c30912abd2b07da20d3f /chart2
parentuse trendline context for trendlines, tdf#94931, tdf#94934 (diff)
downloadcore-5f73eae61e137b04afa805c8b50713006179a014.tar.gz
core-5f73eae61e137b04afa805c8b50713006179a014.zip
we need to take the SolarMutex when we change the UI
Change-Id: I6347a1466038afd625cf59ae2ee87cb4e2014aa0
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/sidebar/ChartLinePanel.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/chart2/source/controller/sidebar/ChartLinePanel.cxx b/chart2/source/controller/sidebar/ChartLinePanel.cxx
index ccde7947f281..ba756d1a5b6f 100644
--- a/chart2/source/controller/sidebar/ChartLinePanel.cxx
+++ b/chart2/source/controller/sidebar/ChartLinePanel.cxx
@@ -20,6 +20,7 @@
#include <svx/tbcontrl.hxx>
#include <sfx2/sidebar/SidebarToolBox.hxx>
+#include <vcl/svapp.hxx>
#include <com/sun/star/view/XSelectionSupplier.hpp>
@@ -178,6 +179,7 @@ void ChartLinePanel::updateData()
if (!mbUpdate || !mbModelValid)
return;
+ SolarMutexGuard aGuard;
css::uno::Reference<css::beans::XPropertySet> xPropSet = getPropSet(mxModel);
if (!xPropSet.is())
return;