summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-07-05 10:23:55 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-07-05 11:51:17 +0200
commitc7a8033dff0f6d3a35260ccaf24f51020f335463 (patch)
treecdd5ad008a9a78b03e52c50b06ea9671e134b955 /svx
parentb98184bf82eafd6432b269ef14d1420c4242e941 (diff)
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.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdobj.cxx2
1 files changed, 1 insertions, 1 deletions
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;