[Libreoffice-commits] core.git: Branch 'libreoffice-6-4' - sd/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jul 10 08:26:31 UTC 2020
sd/source/ui/dlg/animobjs.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit c1e7da2ce1b7705514ca09ace5a53e86474e5fd2
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Jul 9 11:39:43 2020 +0100
Commit: Michael Stahl <michael.stahl at cib.de>
CommitDate: Fri Jul 10 10:26:08 2020 +0200
Resolves: tdf#134674 object inserting using dialogs SdrModel
not the target Documents one
Change-Id: I07088bddc7c15109e7d377f86c6d0a7819faa658
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98348
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl at cib.de>
diff --git a/sd/source/ui/dlg/animobjs.cxx b/sd/source/ui/dlg/animobjs.cxx
index f2807c71e570..c9a7e49bd596 100644
--- a/sd/source/ui/dlg/animobjs.cxx
+++ b/sd/source/ui/dlg/animobjs.cxx
@@ -1062,7 +1062,7 @@ void AnimationWindow::CreateAnimObj (::sd::View& rView )
// the clone remains in the animation; we insert a clone of the
// clone into the group
pClone = pPage->GetObj(i);
- SdrObject* pCloneOfClone(pClone->CloneSdrObject(pPage->getSdrModelFromSdrPage()));
+ SdrObject* pCloneOfClone(pClone->CloneSdrObject(pTargetSdPage->getSdrModelFromSdrPage()));
//SdrObject* pCloneOfClone = pPage->GetObj(i)->Clone();
pObjList->InsertObject(pCloneOfClone);
}
More information about the Libreoffice-commits
mailing list