[Libreoffice-commits] core.git: Branch 'aoo/trunk' - sd/source

Armin Le Grand alg at apache.org
Tue Jun 24 07:07:36 PDT 2014


 sd/source/ui/view/drviews2.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit c0f03c75c71dde47e210ca23eefe3c879b89d97c
Author: Armin Le Grand <alg at apache.org>
Date:   Tue Jun 24 12:48:21 2014 +0000

    i124816 use correct layer for new object when converting

diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx
index 5c8467e..320ce2c 100644
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -692,6 +692,9 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
                     mpDrawView->DeleteMarkedObj();
                 }
 
+                // #124816# 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