svx/source/sdr/primitive2d/sdrcustomshapeprimitive2d.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 1582bde861ad8e556fcf06657e7228980ff284e9
Author:     Armin Le Grand (allotropia) <armin.le.grand.ext...@allotropia.de>
AuthorDate: Fri Dec 22 17:20:21 2023 +0100
Commit:     Armin Le Grand <armin.le.gr...@me.com>
CommitDate: Sat Dec 23 15:49:08 2023 +0100

    Add flush mechanism to buffered Primitives III
    
    There seem to be problems with re-creation of
    SdrCustomShapePrimitive2D primitive presentation
    due to SdrText not being held as
    uno::Reference<uno::XWeak> everywhere. For now,
    try if excluding SdrCustomShapePrimitive2D from
    being flushed helps - may give hints already...
    
    Change-Id: I58373f7dcd81dd24fbf7a0687bb782326ad290fd
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161190
    Tested-by: Jenkins
    Reviewed-by: Armin Le Grand <armin.le.gr...@me.com>

diff --git a/svx/source/sdr/primitive2d/sdrcustomshapeprimitive2d.cxx 
b/svx/source/sdr/primitive2d/sdrcustomshapeprimitive2d.cxx
index b58274106211..19717e2eb121 100644
--- a/svx/source/sdr/primitive2d/sdrcustomshapeprimitive2d.cxx
+++ b/svx/source/sdr/primitive2d/sdrcustomshapeprimitive2d.cxx
@@ -102,8 +102,6 @@ namespace drawinglayer::primitive2d
             mb3DShape(b3DShape),
             maTransform(std::move(aTransform))
         {
-            // activate callback to flush buffered decomposition content
-            setCallbackSeconds(10);
         }
 
         bool SdrCustomShapePrimitive2D::operator==(const BasePrimitive2D& 
rPrimitive) const

Reply via email to