diff options
author | Armin Le Grand <alg@apache.org> | 2014-06-24 12:48:21 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-06-24 16:26:04 +0100 |
commit | a595879302e26a616131aa0cab5de31bb287b37d (patch) | |
tree | b748d3b2e7373ca3f2813fd60417441247e160e5 /sd | |
parent | f511a2915ed856f048fd7dd91fd9f7537b1e0479 (diff) |
Resolves: #i124816# use correct layer for new object when converting
(cherry picked from commit c0f03c75c71dde47e210ca23eefe3c879b89d97c)
Change-Id: Iaf6f9e040553482f5b7d9522ea640dcea0fdd8cc
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/drviews2.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx index 2d503cd3fc87..4d4bd6a033da 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); |