sd/source/core/EffectMigration.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 9699f6e2aa13cd82d96740d96d8f9bf7637b68fe Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sat Sep 3 12:14:59 2022 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sat Sep 3 14:53:33 2022 +0200 crashtesting: assert on loading ooo57561-1.sxi presumably a problem since: commit 8611f6e259b807b4f19c8dc0eab86ca648891ce3 Date: Thu May 27 10:27:46 2021 +0200 ref-count SdrObject Change-Id: Id3c42d229f72d7b4f764e75cf13a193585d6fd76 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139316 Tested-by: Jenkins Tested-by: Caolán McNamara <caol...@redhat.com> Reviewed-by: Caolán McNamara <caol...@redhat.com> diff --git a/sd/source/core/EffectMigration.cxx b/sd/source/core/EffectMigration.cxx index 8dd9d0905805..fc09d8ab5f19 100644 --- a/sd/source/core/EffectMigration.cxx +++ b/sd/source/core/EffectMigration.cxx @@ -1362,10 +1362,10 @@ void EffectMigration::CreateAnimatedGroup(SdrObjGroup const & rGroupObj, SdPage& while(aIter.IsMore()) { // do move to page rough with old/current stuff, will be different in aw080 anyways - SdrObject* pCandidate = aIter.Next(); + rtl::Reference<SdrObject> pCandidate = aIter.Next(); rGroupObj.GetSubList()->NbcRemoveObject(pCandidate->GetOrdNum()); - rPage.NbcInsertObject(pCandidate); - aObjects.push_back(pCandidate); + rPage.NbcInsertObject(pCandidate.get()); + aObjects.push_back(pCandidate.get()); } // create main node