Kaydet (Commit) c0f03c75 authored tarafından Armin Le Grand's avatar Armin Le Grand

i124816 use correct layer for new object when converting

üst cb8f2e44
...@@ -692,6 +692,9 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq) ...@@ -692,6 +692,9 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
mpDrawView->DeleteMarkedObj(); mpDrawView->DeleteMarkedObj();
} }
// #124816# copy layer from lowest object which gets replaced
pGraphicObj->SetLayer(pReplacementCandidate->GetLayer());
// now replace lowest object with new one // now replace lowest object with new one
mpDrawView->ReplaceObjectAtView(pReplacementCandidate, *pPageView, pGraphicObj); mpDrawView->ReplaceObjectAtView(pReplacementCandidate, *pPageView, pGraphicObj);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment