diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-09-15 20:43:23 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-09-16 09:53:01 +0200 |
commit | 30be1d807d4e1fbec73d92d7740490b69e0bb751 (patch) | |
tree | 5b8ba6983c0b56577669256163dcc0538bebb57f | |
parent | 44e1bc0f0eff27846703c697fc45c67e46922881 (diff) |
cid#1607350 Data race condition
Change-Id: Ibd30f03513661762613cc0b386acc48eb994bc2c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173422
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
-rw-r--r-- | vcl/source/components/dtranscomp.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/components/dtranscomp.cxx b/vcl/source/components/dtranscomp.cxx index bb771b2dca81..9621154d0537 100644 --- a/vcl/source/components/dtranscomp.cxx +++ b/vcl/source/components/dtranscomp.cxx @@ -133,6 +133,7 @@ sal_Bool GenericClipboard::supportsService( const OUString& ServiceName ) Reference< css::datatransfer::XTransferable > GenericClipboard::getContents() { + std::unique_lock aGuard(m_aMutex); return m_aContents; } |