[Libreoffice-commits] core.git: sd/source
Armin Le Grand
alg at apache.org
Tue Jun 24 08:26:32 PDT 2014
sd/source/ui/view/drviews2.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit a595879302e26a616131aa0cab5de31bb287b37d
Author: Armin Le Grand <alg at apache.org>
Date: Tue Jun 24 12:48:21 2014 +0000
Resolves: #i124816# use correct layer for new object when converting
(cherry picked from commit c0f03c75c71dde47e210ca23eefe3c879b89d97c)
Change-Id: Iaf6f9e040553482f5b7d9522ea640dcea0fdd8cc
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx
index 2d503cd..4d4bd6a 100644
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -810,6 +810,9 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
mpDrawView->DeleteMarkedObj();
}
+ // #i124816# copy layer from lowest object which gets replaced
+ pGraphicObj->SetLayer(pReplacementCandidate->GetLayer());
+
// now replace lowest object with new one
mpDrawView->ReplaceObjectAtView(pReplacementCandidate, *pPageView, pGraphicObj);
More information about the Libreoffice-commits
mailing list