summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2019-07-17 17:40:50 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2019-07-18 09:49:16 +0200
commit8dfe166a879a17bd8c2e0859d027ff923258a9d8 (patch)
tree24dbe3ecaf1438bf533ce4a79eeefd384f03a4c5
parent0f45c5e6fbabb93b4f4c8d6e6a6b1cc4604d53ec (diff)
sw: missing SolarMutexGuard in SwXFrame::attach()
Causes assert in a test i'm adding... Change-Id: I5be24aa9683ec0d31494c0c97270d1d58692f764 Reviewed-on: https://gerrit.libreoffice.org/75796 Tested-by: Jenkins Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
-rw-r--r--sw/source/core/unocore/unoframe.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx
index 8c41d7fbe0fd..68a305f40dc8 100644
--- a/sw/source/core/unocore/unoframe.cxx
+++ b/sw/source/core/unocore/unoframe.cxx
@@ -3077,6 +3077,8 @@ void SwXFrame::attachToRange(const uno::Reference< text::XTextRange > & xTextRan
void SwXFrame::attach(const uno::Reference< text::XTextRange > & xTextRange)
{
+ SolarMutexGuard g;
+
SwFrameFormat* pFormat;
if(IsDescriptor())
attachToRange(xTextRange);