summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2022-05-13 11:09:44 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-05-14 13:46:12 +0200
commit93243decefd78cd956d3d0984b4cd829d13bed4c (patch)
treee6c04fc739ee1d5cac04557e5de7bca123371d76 /svx
parent60ba608b33b993ea9dc9cead84bd2d62f2ed50e1 (diff)
skip some SetResizeProtect work during construction
unnecessary to do all the work of firing ActionChanged etc at this stage Change-Id: I20aad96e16d7a1ae5176e868d3699080aa0bf6a4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134304 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx')
-rw-r--r--svx/source/svdraw/svdoole2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/svdraw/svdoole2.cxx b/svx/source/svdraw/svdoole2.cxx
index 5f59761009fb..4582c6e34b37 100644
--- a/svx/source/svdraw/svdoole2.cxx
+++ b/svx/source/svdraw/svdoole2.cxx
@@ -763,7 +763,7 @@ SdrOle2Obj::SdrOle2Obj(
mpImpl->aPersistName = rNewObjName;
if (mpImpl->mxObjRef.is() && (mpImpl->mxObjRef->getStatus( GetAspect() ) & embed::EmbedMisc::EMBED_NEVERRESIZE ) )
- SetResizeProtect(true);
+ m_bSizProt = true;
// For math objects, set closed state to transparent
SetClosedObj(!ImplIsMathObj( mpImpl->mxObjRef.GetObject() ));