sd/source/ui/unoidl/randomnode.cxx | 1 + 1 file changed, 1 insertion(+)
New commits: commit 714482f04a5cfade1692ddfc59a4aa2280db81d2 Author: Caolán McNamara <caolan.mcnam...@collabora.com> AuthorDate: Sun Sep 1 15:16:56 2024 +0100 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Tue Sep 3 13:17:03 2024 +0200 cid#1608532 Data race condition and a bunch of dups Change-Id: I700cd803b9550a0577604ebe0f4fbe16d56aa6a5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172769 Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com> Tested-by: Caolán McNamara <caolan.mcnam...@collabora.com> (cherry picked from commit 02f01fea46f3697b59a9b37870c51d23ff406530) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172756 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.st...@allotropia.de> diff --git a/sd/source/ui/unoidl/randomnode.cxx b/sd/source/ui/unoidl/randomnode.cxx index 68f3e96c8210..b85f17c746c4 100644 --- a/sd/source/ui/unoidl/randomnode.cxx +++ b/sd/source/ui/unoidl/randomnode.cxx @@ -438,6 +438,7 @@ void SAL_CALL RandomAnimationNode::setParent( const Reference< XInterface >& Par // XCloneable Reference< XCloneable > SAL_CALL RandomAnimationNode::createClone() { + std::unique_lock aGuard( maMutex ); Reference< XCloneable > xNewNode( new RandomAnimationNode( *this ) ); return xNewNode; }