Kaydet (Commit) 5f73eae6 authored tarafından Markus Mohrhard's avatar Markus Mohrhard

we need to take the SolarMutex when we change the UI

Change-Id: I6347a1466038afd625cf59ae2ee87cb4e2014aa0
üst 14237c16
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
#include <svx/tbcontrl.hxx> #include <svx/tbcontrl.hxx>
#include <sfx2/sidebar/SidebarToolBox.hxx> #include <sfx2/sidebar/SidebarToolBox.hxx>
#include <vcl/svapp.hxx>
#include <com/sun/star/view/XSelectionSupplier.hpp> #include <com/sun/star/view/XSelectionSupplier.hpp>
...@@ -178,6 +179,7 @@ void ChartLinePanel::updateData() ...@@ -178,6 +179,7 @@ void ChartLinePanel::updateData()
if (!mbUpdate || !mbModelValid) if (!mbUpdate || !mbModelValid)
return; return;
SolarMutexGuard aGuard;
css::uno::Reference<css::beans::XPropertySet> xPropSet = getPropSet(mxModel); css::uno::Reference<css::beans::XPropertySet> xPropSet = getPropSet(mxModel);
if (!xPropSet.is()) if (!xPropSet.is())
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment