| commit | 3d9f973e6648c5819608237f390df523b6a32ed8 | [log] |
|---|---|---|
| author | Julien Nabet <serval2412@yahoo.fr> | Sun Mar 10 11:37:55 2019 +0100 |
| committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | Thu Mar 21 10:48:43 2019 +0100 |
| tree | 1dd84703b58d03095eeb1cc4b4cd5fa0827903ef | |
| parent | 7618490d334409c3fc4167f32732537ef738647f [diff] |
Related tdf#122788: avoid assert See: - https://bugs.documentfoundation.org/attachment.cgi?id=149853 - https://bugs.documentfoundation.org/attachment.cgi?id=149854 - https://bugs.documentfoundation.org/show_bug.cgi?id=122788#c5 - https://bugs.documentfoundation.org/show_bug.cgi?id=122788#c6 Change-Id: Icd1d4afcd05bf5398813505702bf244bd18fbfee Reviewed-on: https://gerrit.libreoffice.org/69006 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx index e86136b..df322f5 100644 --- a/sd/source/ui/view/Outliner.cxx +++ b/sd/source/ui/view/Outliner.cxx
@@ -1422,6 +1422,12 @@ pViewShell->GetDispatcher()->ExecuteList(SID_TEXTEDIT, SfxCallMode::SYNCHRON | SfxCallMode::RECORD, { &aItem }); if (mpView->IsTextEdit()) { // end text edition before starting it again mpView->SdrEndTextEdit(); } // To be consistent with the usual behaviour in the Office the text // object that is put into edit mode would have also to be selected. // Starting the text edit mode is not enough so we do it here by