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>
This commit is contained in:
Caolán McNamara
2024-09-16 09:53:01 +02:00
parent 44e1bc0f0e
commit 30be1d807d
+1
View File
@@ -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;
}