summaryrefslogtreecommitdiff
path: root/include/drawinglayer/primitive2d/BufferedDecompositionPrimitive2D.hxx
diff options
context:
space:
mode:
authorArmin Le Grand (allotropia) <armin.le.grand.extern@allotropia.de>2024-01-02 16:04:14 +0100
committerArmin Le Grand <Armin.Le.Grand@me.com>2024-01-02 20:38:23 +0100
commite1402abc5c6d08ae541ca6ef31b017034232d4cf (patch)
treeab2f00062e4cda96b67c2e3b59bf54bb07fe6c4e /include/drawinglayer/primitive2d/BufferedDecompositionPrimitive2D.hxx
parent69181dd430543db21fc0e61b70033ef484708c1c (diff)
tdf#158913 secure Primitive 'visit' using mutex
See text in tdf task for detailed description. Change-Id: I4677c9f2ecfdcb760d05fe916a2aa2dd25ad40b6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161543 Tested-by: Jenkins Reviewed-by: Armin Le Grand <Armin.Le.Grand@me.com>
Diffstat (limited to 'include/drawinglayer/primitive2d/BufferedDecompositionPrimitive2D.hxx')
-rw-r--r--include/drawinglayer/primitive2d/BufferedDecompositionPrimitive2D.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/drawinglayer/primitive2d/BufferedDecompositionPrimitive2D.hxx b/include/drawinglayer/primitive2d/BufferedDecompositionPrimitive2D.hxx
index 55ba886671e0..cc36ddb93cd5 100644
--- a/include/drawinglayer/primitive2d/BufferedDecompositionPrimitive2D.hxx
+++ b/include/drawinglayer/primitive2d/BufferedDecompositionPrimitive2D.hxx
@@ -71,6 +71,7 @@ private:
/// offer callback mechanism to flush buffered content timer-based
::rtl::Reference<::salhelper::Timer> maCallbackTimer;
+ mutable std::mutex maCallbackLock;
sal_uInt16 maCallbackSeconds;
/// When a shadow wraps a list of primitives, this primitive wants to influence the transparency