tsan: fix data race in VCLXWindowImpl

Change-Id: I68894dabdaa22ac3733d08ae85df5c82e3b9654c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169333
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
Noel Grandin 2024-06-21 14:04:20 +02:00
parent b00183ebb2
commit 60e8446323

View file

@ -62,6 +62,7 @@
#include <helper/accessibilityclient.hxx>
#include <helper/unopropertyarrayhelper.hxx>
#include <atomic>
using namespace ::com::sun::star;
@ -118,7 +119,7 @@ public:
bool mbSynthesizingVCLEvent : 1;
bool mbWithDefaultProps : 1;
sal_uLong mnListenerLockLevel;
std::atomic<int> mnListenerLockLevel;
sal_Int16 mnWritingMode;
sal_Int16 mnContextWritingMode;