diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2025-03-14 11:50:51 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2025-03-14 12:47:18 +0100 |
commit | 303e5631f8119ef69c8ff515e7e47d4cf6ab74c6 (patch) | |
tree | 20b7b59bae6f4e08c9c332b7efec444c40f13ec9 /dtrans/source/win32/dtobj | |
parent | ab4cf371eda16668b875dbd99950034b09d0dc4c (diff) |
use mutex before touching maBuffered2DDecomposition (tdf#131595 related)
HEADmaster
Otherwise we could be reading stale data.
And change it to return a bool, the call-sites only care if we
have/dont-have the data, and returning a value of a field that should only
be accessed under a lock is dodgy.
And move the the setRemainingTime call to get2DDecomposition(), because
that where we really "use" the data ie. paint with it.
Change-Id: I44b5d41fee68985213ecc7d11b4ce1bdcfd119b3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182909
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dtrans/source/win32/dtobj')
0 files changed, 0 insertions, 0 deletions