summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2022-07-27 16:06:05 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2022-07-27 22:56:18 +0200
commit38333796522ab53aff69a2e2228ec1fad6abb866 (patch)
tree5ef1548b001c4115ecf2ef0229ab133a997f7b1d
parentfb63d0a090b049c16993054f1804e440adeba5d7 (diff)
sw: SolarMutexGuard missing in SwXBookmark::setPropertyValue()
Change-Id: I41187b02e6b0545529e2a2c5b07da671eae89079 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137506 Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> Tested-by: Jenkins (cherry picked from commit c7a76952b6fa0e6688028047726ac794fdd5cca3) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137517 Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
-rw-r--r--sw/source/core/unocore/unobkm.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/unocore/unobkm.cxx b/sw/source/core/unocore/unobkm.cxx
index 456325d5f575..567cf8a20872 100644
--- a/sw/source/core/unocore/unobkm.cxx
+++ b/sw/source/core/unocore/unobkm.cxx
@@ -406,6 +406,8 @@ void SAL_CALL
SwXBookmark::setPropertyValue(const OUString& PropertyName,
const uno::Any& rValue)
{
+ SolarMutexGuard g;
+
if (PropertyName == UNO_NAME_BOOKMARK_HIDDEN)
{
bool bNewValue = false;