summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/unoidl/randomnode.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sd/source/ui/unoidl/randomnode.cxx b/sd/source/ui/unoidl/randomnode.cxx
index 075fbf583b7b..d8f0fda1d80a 100644
--- a/sd/source/ui/unoidl/randomnode.cxx
+++ b/sd/source/ui/unoidl/randomnode.cxx
@@ -431,6 +431,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;
}