svx/source/svdraw/svdobj.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
New commits: commit 3afd9bad338ffee53d2542e7417f05607b61f955 Author: Armin Le Grand <armin.le.gr...@cib.de> AuthorDate: Sat Sep 29 15:25:30 2018 +0200 Commit: Juergen Funk (CIB) <juergen.funk...@cib.de> CommitDate: Fri Nov 29 11:05:53 2019 +0100 tdf#120066 Only invalidate SdrModel when SdrObject has SdrPage trac#29781 Change-Id: If32dd85f8d04a3f597b033272ffc2fc0bb73fbad Reviewed-on: https://gerrit.libreoffice.org/61132 Tested-by: Jenkins Reviewed-by: Armin Le Grand <armin.le.gr...@cib.de> Reviewed-on: https://gerrit.libreoffice.org/84034 Reviewed-by: Juergen Funk (CIB) <juergen.funk...@cib.de> Tested-by: Juergen Funk (CIB) <juergen.funk...@cib.de> diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx index 7300dbe2f5b8..07a5473bd04d 100644 --- a/svx/source/svdraw/svdobj.cxx +++ b/svx/source/svdraw/svdobj.cxx @@ -930,7 +930,12 @@ void SdrObject::SetChanged() // of the next changes. It should not mean to have a SdrModel // set (this is guaranteed now), but should be connected to // being added to a SdrPage (?) - if(IsInserted()) + // TTTT tdf#120066 Indeed - This triggers e.g. by CustomShape + // geometry-presenting SdrObjects that are in a SdrObjGroup, + // but the SdrObjGroup is *by purpose* not inserted. + // Need to check deeper and maybe identify all ::IsInserted() + // calls by rename and let the compiler work... + if(nullptr != getSdrPageFromSdrObject()) { getSdrModelFromSdrObject().SetChanged(); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits