diff options
Diffstat (limited to 'drawinglayer/source')
-rw-r--r-- | drawinglayer/source/primitive2d/BufferedDecompositionGroupPrimitive2D.cxx | 2 | ||||
-rw-r--r-- | drawinglayer/source/primitive2d/BufferedDecompositionPrimitive2D.cxx | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/drawinglayer/source/primitive2d/BufferedDecompositionGroupPrimitive2D.cxx b/drawinglayer/source/primitive2d/BufferedDecompositionGroupPrimitive2D.cxx index a24816ad5f3a..4a09d0490ce9 100644 --- a/drawinglayer/source/primitive2d/BufferedDecompositionGroupPrimitive2D.cxx +++ b/drawinglayer/source/primitive2d/BufferedDecompositionGroupPrimitive2D.cxx @@ -53,7 +53,9 @@ namespace drawinglayer::primitive2d { void flushBufferedDecomposition(BufferedDecompositionGroupPrimitive2D& rTarget) { + rTarget.acquire(); rTarget.setBuffered2DDecomposition(Primitive2DContainer()); + rTarget.release(); } const Primitive2DContainer& diff --git a/drawinglayer/source/primitive2d/BufferedDecompositionPrimitive2D.cxx b/drawinglayer/source/primitive2d/BufferedDecompositionPrimitive2D.cxx index 61eb34251913..ba8a4606cc83 100644 --- a/drawinglayer/source/primitive2d/BufferedDecompositionPrimitive2D.cxx +++ b/drawinglayer/source/primitive2d/BufferedDecompositionPrimitive2D.cxx @@ -53,7 +53,9 @@ namespace drawinglayer::primitive2d { void flushBufferedDecomposition(BufferedDecompositionPrimitive2D& rTarget) { + rTarget.acquire(); rTarget.setBuffered2DDecomposition(nullptr); + rTarget.release(); } const Primitive2DReference& BufferedDecompositionPrimitive2D::getBuffered2DDecomposition() const |