diff options
author | Michael Stahl <Michael.Stahl@cib.de> | 2019-07-17 17:40:50 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-07-19 12:48:57 +0200 |
commit | 922aacddc86a5ae6cc3eeab9d47219bcb45ef1bc (patch) | |
tree | 019abcadd46bc33e063cf17621da18f99d6a2857 | |
parent | 7af89de46ff4a40a8161fd629584d54cfdeadee1 (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>
(cherry picked from commit 8dfe166a879a17bd8c2e0859d027ff923258a9d8)
Reviewed-on: https://gerrit.libreoffice.org/75827
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sw/source/core/unocore/unoframe.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/unocore/unoframe.cxx b/sw/source/core/unocore/unoframe.cxx index a7eede4e14e6..831d9dc7e41b 100644 --- a/sw/source/core/unocore/unoframe.cxx +++ b/sw/source/core/unocore/unoframe.cxx @@ -3042,6 +3042,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); |