diff options
Diffstat (limited to 'sd/source')
-rw-r--r-- | sd/source/core/EffectMigration.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
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 |