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

New commits:
commit 93243decefd78cd956d3d0984b4cd829d13bed4c
Author:     Noel Grandin <noel.gran...@collabora.co.uk>
AuthorDate: Fri May 13 11:09:44 2022 +0200
Commit:     Noel Grandin <noel.gran...@collabora.co.uk>
CommitDate: Sat May 14 13:46:12 2022 +0200

    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.gran...@collabora.co.uk>

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() ));

Reply via email to