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

New commits:
commit c0f03c75c71dde47e210ca23eefe3c879b89d97c
Author: Armin Le Grand <[email protected]>
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);
 
_______________________________________________
Libreoffice-commits mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to