https://bugs.documentfoundation.org/show_bug.cgi?id=159288

--- Comment #3 from Julien Nabet <[email protected]> ---
I tried this:
diff --git a/chart2/source/tools/CharacterProperties.cxx
b/chart2/source/tools/CharacterProperties.cxx
index 7669d3245a27..3e35f002a9a0 100644
--- a/chart2/source/tools/CharacterProperties.cxx
+++ b/chart2/source/tools/CharacterProperties.cxx
@@ -36,6 +36,7 @@
 #include <i18nlangtag/mslangid.hxx>
 #include <i18nlangtag/languagetag.hxx>
 #include <tools/color.hxx>
+#include <vcl/svapp.hxx>
 #include <vcl/outdev.hxx>

 using namespace ::com::sun::star;
@@ -340,6 +341,7 @@ void CharacterProperties::AddPropertiesToVector(
 void CharacterProperties::AddDefaultsToMap(
     ::chart::tPropertyValueMap & rOutMap )
 {
+    SolarMutexGuard aGuard;
     const float fDefaultFontHeight = 13.0;

     SvtLinguConfig aLinguConfig;

It worked.

Now I know nothing about SolarMutexGuard except the fact we don't want to
overuseit.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to