cid#1606825 Data race condition

Change-Id: If2a0385a0b9d7d09c05cacc9bbc1034bd14f53b3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173947
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
Caolán McNamara 2024-09-25 15:32:59 +01:00
parent d26313ea19
commit 3cbe17c83c

View file

@ -496,6 +496,7 @@ private:
Reference< css::util::XCloneable > SAL_CALL DefaultGridDataModel::createClone( )
{
std::unique_lock aGuard(m_aMutex);
return new DefaultGridDataModel( *this );
}