diff --git a/reportdesign/source/core/api/ReportComponent.cxx b/reportdesign/source/core/api/ReportComponent.cxx index 5c036b5d6bdf..adfee3596914 100644 --- a/reportdesign/source/core/api/ReportComponent.cxx +++ b/reportdesign/source/core/api/ReportComponent.cxx @@ -18,6 +18,7 @@ */ #include +#include #include #include #include @@ -41,6 +42,7 @@ namespace reportdesign static void lcl_getDefaultFonts( vcl::Font& rLatinFont, vcl::Font& rCJKFont, vcl::Font& rCTLFont, LanguageType _eLatin, LanguageType _eCJK, LanguageType _eCTL ) { + SolarMutexGuard g; LanguageType eLatin = _eLatin; // If the UI language is Korean, the default Latin font has to