summaryrefslogtreecommitdiff
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
parent14237c1678167da725fee079532c4669264d697f (diff)
we need to take the SolarMutex when we change the UI
Change-Id: I6347a1466038afd625cf59ae2ee87cb4e2014aa0
-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;