summaryrefslogtreecommitdiff
path: root/filter/source/msfilter/msdffimp.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-05-23 17:19:09 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-05-24 09:59:31 +0200
commit0935e997d2eb3db04c06504dffa4e59de49a289d (patch)
treea2e6f81d900d1610402f9fa2877bb7002ba2cff5 /filter/source/msfilter/msdffimp.cxx
parent55557e6cfb828dccb0af56d4886af73a5b46f052 (diff)
avoid some unnecessary work when importing graphic
calling SetLogicRect triggers a bunch of listeners, but that work is unnecessary while we are still loading the data Change-Id: If71448400878a52551a1a3225d1c9cc1052f9867 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134839 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'filter/source/msfilter/msdffimp.cxx')
-rw-r--r--filter/source/msfilter/msdffimp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index daf047007b49..66c3857711c2 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -4056,7 +4056,7 @@ SdrObject* SvxMSDffManager::ImportGraphic( SvStream& rSt, SfxItemSet& rSet, cons
pRet->SetName( aFileName );
}
}
- pRet->SetLogicRect( rObjData.aBoundRect );
+ pRet->NbcSetLogicRect( rObjData.aBoundRect );
if (SdrGrafObj* pGrafObj = dynamic_cast<SdrGrafObj*>(pRet))
{