svx/source/svdraw/svdobj.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c7a8033dff0f6d3a35260ccaf24f51020f335463
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Tue Jul 5 10:23:55 2022 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Tue Jul 5 11:51:17 2022 +0200

    tdf#137544 reduce unnecessary broadcasting when creating shape
    
    we have just created the shape, so no need to do the expensive broadcast
    
    Change-Id: I3500f0fd007aa531a63f894aaf21372d602f8dbc
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136820
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk>

diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx
index e8d41c51b39d..0688688f1303 100644
--- a/svx/source/svdraw/svdobj.cxx
+++ b/svx/source/svdraw/svdobj.cxx
@@ -3335,7 +3335,7 @@ SdrObject* SdrObjFactory::MakeNewObject(
 
     if(bSetSnapRect && nullptr != pSnapRect)
     {
-        pObj->SetSnapRect(*pSnapRect);
+        pObj->NbcSetSnapRect(*pSnapRect);
     }
 
     return pObj;

Reply via email to