reportdesign/source/core/api/ReportComponent.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 2b87376d7e8cc9d5973a8ccd4c9fdf398ebbd2a0 Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Sun Apr 23 14:24:52 2023 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Sun Apr 23 16:32:42 2023 +0200 tdf#154886: fix Report builder mutex assertion Thank you Noel for the hint! Change-Id: Icb1f63deaffc454e0dcc3b736c9214d93b6871df Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150826 Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakan...@libreoffice.org> Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> 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 <ReportComponent.hxx> +#include <comphelper/solarmutex.hxx> #include <vcl/svapp.hxx> #include <vcl/outdev.hxx> #include <vcl/settings.hxx> @@ -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