[Libreoffice-commits] core.git: chart2/source
Markus Mohrhard
markus.mohrhard at googlemail.com
Sat Oct 10 07:22:48 PDT 2015
chart2/source/controller/sidebar/ChartLinePanel.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 5f73eae61e137b04afa805c8b50713006179a014
Author: Markus Mohrhard <markus.mohrhard at googlemail.com>
Date: Sat Oct 10 16:21:29 2015 +0200
we need to take the SolarMutex when we change the UI
Change-Id: I6347a1466038afd625cf59ae2ee87cb4e2014aa0
diff --git a/chart2/source/controller/sidebar/ChartLinePanel.cxx b/chart2/source/controller/sidebar/ChartLinePanel.cxx
index ccde794..ba756d1 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;
More information about the Libreoffice-commits
mailing list